Skip to content
Snippets Groups Projects
  1. Apr 20, 2020
  2. Apr 17, 2020
  3. Apr 15, 2020
  4. Apr 10, 2020
  5. Apr 08, 2020
  6. Apr 07, 2020
  7. Apr 02, 2020
  8. Apr 01, 2020
  9. Mar 31, 2020
  10. Mar 30, 2020
  11. Mar 27, 2020
    • Antoine Lambert's avatar
      auth/backends: Simplify and improve OIDC authentication · d4446bca
      Antoine Lambert authored
      No need to query the userinfo endpoint of the OIDC server when authenticating
      as those information can also be found in the decoded access token.
      
      Use more reliable access token expiration date.
      
      Check groups claim is provided in decoded token before trying to read it.
      d4446bca
  12. Mar 26, 2020
  13. Mar 25, 2020
  14. Mar 23, 2020
  15. Mar 20, 2020
  16. Mar 19, 2020
  17. Mar 18, 2020
  18. Mar 16, 2020
    • Antoine Lambert's avatar
      auth/backends: Add DRF bearer token authentication using OpenID Connect · 61b4f5db
      Antoine Lambert authored
      This backend for Django REST Framework enables to authenticate users through the
      use of bearer tokens (provided by Keycloak) sent in HTTP request headers.
      
      Closes T2249
      61b4f5db
    • Antoine Lambert's avatar
      auth: Add OpenID Connect autentication backend and login/logout views · 0fea6e40
      Antoine Lambert authored
      Add Django plumbing in swh-web to use OpenID Connect authentication layer.
      
      It enables to securely authenticate users stored in a remote identity
      and access management server implementing OpenID Connect specifications.
      For the swh-web case, the open source solution Keycloak will be used.
      
      New Django views are also introduced in order for users to login/logout
      from the main HTML interface.
      
      A custom Django User model is also used for remote users in order to
      store OpenID Connect related data and avoid to save users to Django
      database (those sensitive information are already securely stored in
      Keycloak so there is no need to duplicate them).
      
      Closes T2245
      Closes T2246
      Closes T2295
      0fea6e40
Loading