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

fix(auth): incorrect error when error occurs during PKCE flow #592

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Nov 5, 2024

What kind of change does this PR introduce?

Fix #591

What is the current behavior?

Error was using a fixed message instead of getting it from the error_description URL param.

What is the new behavior?

Get the error from error_description param instead.

Additional context

Add any other context or screenshots.

@grdsdev grdsdev requested a review from dshukertjr November 5, 2024 09:17
@grdsdev grdsdev merged commit 84ce6f2 into main Nov 6, 2024
24 checks passed
@grdsdev grdsdev deleted the guilherme/pkce-flow-invalid-error-message branch November 6, 2024 09:55
@MilesV64
Copy link

MilesV64 commented Nov 8, 2024

Thank you for this! Looking forward to the release, seems it maybe failed 🙏

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.

authClient.session(from url: URL) has incorrect error when an error occurs during PKCE flow
2 participants