-
- Downloads
swh.auth.pytest_plugin: Make decoded_token consistent with user_info
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
parent
68e9d921
No related branches found
Tags v1.9.0
Loading
-
Some references in the commit message have been migrated:
- T2858 is now swh-deposit#2858 (closed)
-
mentioned in merge request !2 (closed)
Please register or sign in to comment