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鈥檒l 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!

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.

None yet

2 participants