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

Support Organization Name #1291

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Support Organization Name #1291

merged 2 commits into from
Jul 14, 2023

Conversation

frederikprijck
Copy link
Member

@frederikprijck frederikprijck commented Jul 14, 2023

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

📋 Changes

Adds support for the organization name by extending the ID Token validation as follows:

  • If organization is set and has the org_ prefix, we expect an org_id claim
  • If organization is set and does not have the org_ prefix, we expect an org_name claim

@frederikprijck frederikprijck requested a review from a team as a code owner July 14, 2023 12:50
@vercel
Copy link

vercel bot commented Jul 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nextjs-auth0 ⬜️ Ignored (Inspect) Jul 14, 2023 7:27pm

@frederikprijck frederikprijck enabled auto-merge (squash) July 14, 2023 12:54
src/handlers/callback.ts Outdated Show resolved Hide resolved
@frederikprijck frederikprijck merged commit 0f5b884 into main Jul 14, 2023
@frederikprijck frederikprijck deleted the feat/sdk-4411 branch July 14, 2023 19:36
@adamjmcgrath adamjmcgrath mentioned this pull request Jul 19, 2023
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