<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008C3jcCSAROkta Classic EngineIntegrationsAnswered2018-09-05T01:28:18.000Z2017-10-17T21:37:33.000Z2017-10-17T21:37:33.000Z
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.

This question is closed.
Loading
How To Implement `rememberDevice` for MFA