Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user interaction when refresh token expired #349

Open
robin202205 opened this issue Oct 21, 2022 · 1 comment
Open

user interaction when refresh token expired #349

robin202205 opened this issue Oct 21, 2022 · 1 comment

Comments

@robin202205
Copy link

Describe the feature request?

when I have not used the app for 7 days,I call oktaAuthStateManager.renew, i get error: "Error fetching fresh tokens: invalid_grant: The refresh token is invalid or expired.". but this is a string, not a error code. I hope will have user interaction in the situation, How can i do it?

New or Affected Resource(s)

user interaction when refresh token expired

Provide a documentation link

No response

Additional Information?

No response

@NachoMan
Copy link

NachoMan commented Nov 7, 2022

Hi @robin202205, I agree that error messages within this SDK can be difficult to introspect. We've built a replacement for this SDK named okta-mobile-swift which improves on a lot of these sorts of issues. I wrote an article summarizing the features and improvements in the new SDK, which you could check out to see if it suits your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants