fossology icon indicating copy to clipboard operation
fossology copied to clipboard

feat(oidc): allow user to configure token

Open GMishx opened this issue 2 years ago • 0 comments

Description

  1. Allow admin to use either access token or id token for oidc authentication.
  2. Also, allow admin to select the field from userinfo endpoint to be used as ID.
    • It was primarily set to email.

Changes

  1. Add 2 new configurations "Resource owner id field" and "Token to use from provider" in configuration page.

image

How to test

  1. Set the oauth provider (preferably AzureAD).
  2. Set the new fields and try to login.

Closes #2229

GMishx avatar Sep 01 '22 06:09 GMishx