okta-oidc-ios
okta-oidc-ios copied to clipboard
user interaction when refresh token expired
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
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.