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: Add error_code from url to AuthException #968

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

Vinzent03
Copy link
Collaborator

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

The error_code from the url response is ignored and not passed to the AuthException.

What is the new behavior?

The error_code field is now set to statusCode from AuthExcetption.

Additional context

close #964

@dshukertjr
Copy link
Member

Just checking here, but is this one ready for a review? Asking, because you opened another PR with the same title. #967

@Vinzent03 Vinzent03 changed the title fix: Add magiclink as authenticaiton method in mfa fix: Add error_code from url to AuthException Jul 10, 2024
@dshukertjr dshukertjr merged commit c741fe9 into main Jul 10, 2024
10 checks passed
@dshukertjr dshukertjr deleted the fix/url-status-code branch July 10, 2024 09:55
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.

AuthException from auth.getSessionFromUrl() does not contain error code.
2 participants