You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving from v0.6.3 to master, it looks like the OpenID auth was refactored into jwtUtil. However, this no longer works with providers that do not use unique_name by default such as Google. In v0.6.3, any valid claim was used as the username, while in v0.7.0 only the claim unique_name is allowed to be the username. See,
@jjaraalm - thanks for reporting this!
I don't have an easy way right now to test with OpenID auth - would you be willing to create a PR for the fix?
I can verify against Azure AD.
Slightly favor the first approach to have less tweaking of config settings needed by deployers.
Moving from v0.6.3 to master, it looks like the OpenID auth was refactored into jwtUtil. However, this no longer works with providers that do not use
unique_name
by default such as Google. In v0.6.3, any valid claim was used as the username, while in v0.7.0 only the claimunique_name
is allowed to be the username. See,hsds/hsds/util/jwtUtil.py
Lines 177 to 191 in 9e1f081
The v0.6.3 behavior wasn't great so I understand why it was changed, but this needs to be configurable. Possible options:
unique_name
isn't present)openid_username_claim
and maybe alsoopenid_roles_claim
The text was updated successfully, but these errors were encountered: