Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with Google OAuth integration
OIDC doesn't specify the format for access_token. Some providers use it as a JWT to store information about groups (eg: Keycloak), some don't use it as a JWT (eg: Google). So we try to parse it as a JWT but if that fails we ignore the error and move on. In case the access_token is not an JWT, the groups info is stored in the id_token and that's where we look. Refs #2003
- Loading branch information