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 sms authentication, by checking verifyResponse #387

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

anujva
Copy link
Contributor

@anujva anujva commented Nov 23, 2021

The first response for sms authentication doesn't have the session_token
in the response. Handle this case by testing for the SESSION_TOKEN in
the response before reading it.

Co-Authored-By: [email protected]

Signed-off-by: Anuj Varma [email protected]

Problem Statement

#382
#349

Solution

Handle the case by testing for the SESSION_TOKEN in
the response before reading it in the case of sms token where the reponse for verify removed the session_token.
https://developer.okta.com/docs/reference/api/authn/#verify-sms-factor

The first response for sms authentication doesn't have the session_token
in the response. Handle this case by testing for the SESSION_TOKEN in
the response before reading it.

Co-Authored-By: [email protected]

Signed-off-by: Anuj Varma <[email protected]>
@mraible mraible merged commit 837b822 into oktadev:main Mar 29, 2022
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.

2 participants