sonikro / flutter-okta-sdk

Okta's SDK Implementation for Flutter
BSD 3-Clause "New" or "Revised" License
19 stars 34 forks source link

Fixed iOS createConfig to read from secure storage if the refresh token has not expired rather than the access token #22

Closed tonywu1999 closed 3 years ago

tonywu1999 commented 3 years ago

https://github.com/sonikro/flutter-okta-sdk/issues/20

Before, refreshTokens() would not work after restarting iOS app because app never reads from secure storage if access token had expired. For mobile apps, it's preferred to keep the user signed in as long as they have a non-expired refresh token.

Question: will these changes be present after running flutter pub get after I merge to the develop branch, or do we need to modify the version number as well?

sonikro commented 3 years ago

Thank you very much for your contribution @tonywu1999. We are currently looking for maintainers for this project, as me and @Perdiga (the original creators) are no longer working with Flutter. If you're interested, let me know.

Regarding the version, once I merge this to develop, I'll release a new version, so you can install it with pub get