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

Add openid-client options to allow for additionalAuthorizedParties #10949

Open
wants to merge 2 commits into
base: v4
Choose a base branch
from

Conversation

mbaquerizo
Copy link

@mbaquerizo mbaquerizo commented May 17, 2024

☕️ Reasoning

From the closed PR (linked below):

Currently it is not possible to pass additionalAuthorizedParties in the options argument, as it is required in some cases, e.g. when using hybrid applications and validating multiple audiences.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

#8442 - This PR was closed after a maintainer asked for it to be added to the v4 branch. I did not see an update or PR to v4, so I'm making it here.
#6966 - Discussion on why this is desired.
#6954 - Potentially another related issue.

📌 Resources

This is to allow passing in the additionalAuthorizedParties property
in cases where the AP uses multiple values for the aud claim.
Copy link

vercel bot commented May 17, 2024

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

Name Status Preview Comments Updated (UTC)
auth-docs ❌ Failed (Inspect) May 17, 2024 10:07pm
next-auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 10:07pm

Copy link

vercel bot commented May 17, 2024

@mbaquerizo is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@jdpnielsen jdpnielsen left a comment

Choose a reason for hiding this comment

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

I have tested this implementation and it works as expected 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy Refers to `next-auth` v4. Minimal maintenance. providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants