-
- Downloads
auth: Add OIDC session silent refresh middleware
When an access token has expired, try to perform a silent OIDC session refresh through the use of a Django middleware. Closes T2267
parent
f77f32dc
No related branches found
No related tags found
Showing
- swh/web/auth/middlewares.py 43 additions, 0 deletionsswh/web/auth/middlewares.py
- swh/web/auth/views.py 22 additions, 9 deletionsswh/web/auth/views.py
- swh/web/settings/common.py 1 addition, 0 deletionsswh/web/settings/common.py
- swh/web/templates/logout.html 16 additions, 1 deletionswh/web/templates/logout.html
- swh/web/tests/api/test_throttling.py 2 additions, 1 deletionswh/web/tests/api/test_throttling.py
- swh/web/tests/auth/keycloak_mock.py 10 additions, 5 deletionsswh/web/tests/auth/keycloak_mock.py
- swh/web/tests/auth/test_middlewares.py 46 additions, 0 deletionsswh/web/tests/auth/test_middlewares.py
- swh/web/tests/auth/test_views.py 44 additions, 3 deletionsswh/web/tests/auth/test_views.py
Loading
-
Some references in the commit message have been migrated:
- T2267 is now #2267 (closed)
Please register or sign in to comment