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

Allow user options id for signinUrl and callbackUrl #2698

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

Thisen
Copy link
Contributor

@Thisen Thisen commented Sep 8, 2021

Reasoning 💡

This will change the way providers are parsed and use the user options.id from their provider config in the signinUrl and callbackUrl.

This reason for this suggestion is to better align with v3 behavior, where it used the users chosen provider ID for these urls. In the current beta, it uses the defaultOptions.id

Checklist 🧢

  • Documentation (N/A - Couldn't find any related documentation)
  • Tests (N/A - Couldn't find any related tests)
  • Ready to be merged

Affected issues 🎟

Haven't found any.

@github-actions github-actions bot added the core Refers to `@auth/core` label Sep 8, 2021
Copy link
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@balazsorban44 balazsorban44 merged commit 819e97e into nextauthjs:beta Sep 8, 2021
@Thisen Thisen deleted the beta branch September 8, 2021 19:08
mnphpexpert added a commit to mnphpexpert/next-auth that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants