Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(oidc): Adding support for extracting single string groups claim #4419

Conversation

jjoyce0510
Copy link
Collaborator

@jjoyce0510 jjoyce0510 commented Mar 15, 2022

Summary
Currently, we assume that the groups claim returned by an IdP is a collection is strings. In this PR, we introduce support for claims that are of type "string", which indicates that a single group should be minted, with the user added to it.

Verification
Verified using a custom "Department" attribute created in Okta.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

@github-actions
Copy link

Unit Test Results (build & test)

  92 files  ±0    92 suites  ±0   18m 54s ⏱️ + 1m 24s
673 tests ±0  614 ✔️ ±0  59 💤 ±0  0 ±0 

Results for commit c7377bd. ± Comparison against base commit e8f6c4c.

@jjoyce0510 jjoyce0510 merged commit 11f809a into datahub-project:master Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants