Skip to content
Snippets Groups Projects
  1. Mar 25, 2021
  2. Mar 24, 2021
  3. Mar 23, 2021
  4. Mar 22, 2021
  5. Mar 18, 2021
  6. Mar 17, 2021
    • Antoine Lambert's avatar
      django/utils: Get access token renewal date from proper dict field · 679c0a5e
      Antoine Lambert authored
      In the dictionary decoded from an OIDC access token, the iat field store
      the token creation date while the auth_time field store the date the
      OIDC session was opened.
      
      In order to get an accurate authentication time, the date stored in
      the iat field must be used as it corresponds to the time an access
      token was refreshed and thus the latest valid authentication date.
      679c0a5e
  7. Mar 15, 2021
  8. Mar 12, 2021
  9. Mar 11, 2021
    • Antoine R. Dumont's avatar
      swh.auth.pytest_plugin: Make decoded_token consistent with user_info · acf199d6
      Antoine R. Dumont authored
      Tester will want to craft carefully the keycloak mock so it returns
      consistent data.
      
      Currently the decoded_token and user_info are hard-coded to consistent values. So using
      the default keycloak mock is ok. As soon as other testers will want another user_info,
      the decoded token will diverge and not return the correct user_info subpart of the
      decoded token.
      
      This commits fixes such behavior and allows the decoded token to stay consistent with
      the user_info.
      
      Related to T2858
  10. Mar 09, 2021
  11. Mar 05, 2021
  12. Mar 04, 2021
  13. Mar 03, 2021
Loading