fossology
fossology copied to clipboard
feat(oidc): allow user to configure token
Description
- Allow admin to use either access token or id token for oidc authentication.
- Also, allow admin to select the field from
userinfo
endpoint to be used as ID.- It was primarily set to
email
.
- It was primarily set to
Changes
- Add 2 new configurations "Resource owner id field" and "Token to use from provider" in configuration page.
How to test
- Set the oauth provider (preferably AzureAD).
- Set the new fields and try to login.
Closes #2229