<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
0D50Z00008G7UlDSAVOkta Classic EngineIntegrationsAnswered2024-04-17T11:09:11.000Z2017-10-13T01:46:38.000Z2017-11-07T18:34:05.000Z
  • Hi Brian,

     

    There are two types of tokens that can be obtained via the API for actions like this. The first is a "sessionToken", and that is generated by successfully authenticating against the Primary Authentication endpoint using the API. 

     

    The second type is a stateToken, which is what would be used for password resets. If the primary authentication attempt puts you into a secondary state (such as multi-factor authentication challenge or password expired), this is when you will receive a stateToken, but no sessionToken. You can then use the stateToken to reset the password.

     

    Thank you,

     

    Josh Skeen

    Okta Global Customer Support
    Expand Post
This question is closed.
Loading
How do I get a password reset token using the .NET SDK?