Coder Social home page Coder Social logo

Comments (6)

oleggnidets-okta avatar oleggnidets-okta commented on August 15, 2024 1

This behavior is not supposed to be.

So I created internal issue, ref. OKTA-454163. Let you know about the results.
For now, if it's possible downgrade to 3.8.0. Thanks

from okta-oidc-ios.

oleggnidets-okta avatar oleggnidets-okta commented on August 15, 2024

Hey @shivayogic

Sorry to hear about the issue.

I took a look at git history but didn't find any suspicious changes to related logic.

How do you think may it be related to #320? It would be great if you provide some technical details (logs, crash logs, steps to reproduce etc.).

from okta-oidc-ios.

shivayogic avatar shivayogic commented on August 15, 2024

Hey, In my opinion #320 is not the scenario. Below are the steps:

  1. In the previous version of App we are using OktaOIDC 3.8.0
  2. When we log into the app user is authenticated and stored in keychain of okta
  3. Now I will update the OktaOIDC pod to 3.10.8 or even 3.11.0 in my app and upgrade it one the App which was built in step 1
  4. Launch the app. When I tried to get the key from keychain which was stored as part 2 was cleared out. Hence I have logout of the user.

My question is, Is keychain will be cleared on upgrade of the sdk?

from okta-oidc-ios.

shivayogic avatar shivayogic commented on August 15, 2024

Thank you for looking into the issue.

from okta-oidc-ios.

oleggnidets-okta avatar oleggnidets-okta commented on August 15, 2024

Hey @shivayogic
I tried to reproduce the issue on our sample in different ways but I have no problem. Switching from 3.8.0 to 3.11.0 works, I get the same access token from Keychain.
I investigate our code and seems OktaOidcKeychain has not been changed for a while. So Keychain related functionality works as worked before.

Pay attention, we deprecated clear method. It does clears everything from Keychain, even keys not related to the SDK (all previously saved in the app keys).

We would appreciate if you provide more details. Also, it would be extremely helpful if you can reproduce the issue on our samples.

from okta-oidc-ios.

oleggnidets-okta avatar oleggnidets-okta commented on August 15, 2024

@shivayogic I hope it works for you.
I close the issue for now as no response provided. Please, feel free to drop any updates here or re-open the issue.

from okta-oidc-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.