Skip to content

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

@Vinzent03 Vinzent03 force-pushed the fix/url-status-code branch from b657ebf to 35e4e47 Compare July 6, 2024 22:21
@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
@Vinzent03 Vinzent03 requested a review from dshukertjr July 10, 2024 08:58
@dshukertjr dshukertjr merged commit c741fe9 into main Jul 10, 2024
@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