Skip to content

Conversation

truekarthik
Copy link
Contributor

@truekarthik truekarthik commented Apr 5, 2022

Description

Closes #2204

Changes

  • src/lib/php/common-sysconfig.php - Added OidcClientIdClaim to system configuration
  • src/www/ui/api/Helper/AuthHelper.php - Replaced client_id with $SysConf['SYSCONFIG']['OidcClientIdClaim']

How to test

  • Repopulate db
  • Go to "Admin > Customize" in Fossology and edit OIDC Client Id Claim

Copy link
Member

@GMishx GMishx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, working as expected.

@GMishx GMishx removed the needs test label Apr 6, 2022
@truekarthik
Copy link
Contributor Author

changes done

Copy link
Member

@GMishx GMishx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good. Working as expected.

@GMishx GMishx merged commit 63ce639 into fossology:master Apr 6, 2022
@truekarthik truekarthik deleted the coder-whale/issue/#2204 branch May 30, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make client id as configurable claim for REST auth

2 participants