Open ragnaros2046 opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
I am running into this issue as well.
@ragnaros2046 @archae0pteryx are you willing to submit PR ?
Pre-requisites
:latest
What happened/what you expected to happen?
Auth0 forbid Groups claim. There is an extension can be used to add custom claims to the issued token.
https://auth0.com/docs/customize/extensions/authorization-extension/use-rules-with-the-authorization-extension#add-custom-claims-to-the-issued-token
And Auth0 also require to call /userinfo to get attributes like email, custom claims.
https://auth0.com/docs/api/authentication#get-user-info
These lead to customGroupClaimName and userInfoPath both need to be set in argo-workflow helm chart. func HandleCallback(from server/auth/sso/sso.go) will make groups always be nil.
Version
3.4.1 helm chart 0.20.1