<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
0D54z00007YpmXSCAZOkta Classic EngineSingle Sign-OnAnswered2024-05-07T05:00:11.000Z2022-04-08T15:10:57.000Z2022-04-08T23:21:28.000Z

JohnS.87891 (Customer) asked a question.

stateManager in iOS SDK is nil after ReadFromSecureStorage

We are using the Okta SDK for authentication in our iOS app, following the instructions by saving the stateManager object to secure storage with the command,  stateManager?.writeToSecureStorage()

When we restart the app, and use the command self.stateManager = OktaOidcStateManager.readFromSecureStorage(for: oktaOidc.configuration). the stateManager object is showing as nil. Is there a way to debug why the read is failing?


  • Paul S. (Okta, Inc.)

    Hello @JohnS.87891 (Customer)​ Thank you for reaching out to our community.

     

    My advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.

    https://devforum.okta.com/

     

    Expand Post
This question is closed.
Loading
stateManager in iOS SDK is nil after ReadFromSecureStorage