How To Implement `rememberDevice` for MFA Skip to main content
https://support.okta.com/help/answers?id=9062a000000quqdqak&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
James GoodhouseJames Goodhouse 

How To Implement `rememberDevice` for MFA

I am currently building a small command-line app that logs in via the Okta API. Authentication is working, as well as the MFA verification. The problem I'm having is that the documentation states that so long as a Factor allows for remembering the device, all I need to do is set the url parameter or `rememberDevice=true`. However, this is not working, as my login request always results in needed to re-verify with MFA.

This (https://developer.okta.com/docs/api/resources/authn.html#verify-factor) is the link I'm following that discusses implementing the rememberDevice setting. It makes it seem as simple as just passing that parameter through, but my guess is that there is some sort of cookie or token that I need to make sure to save locally and use with each subsequent request.
Alexandru IonAlexandru Ion (Okta, Inc.)
Please file a support ticket with us so we can properly troubleshoot this issue.