-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] Silent renew does not work when mobile app is in background #34
Comments
No, silent renew is not running while the app is in background. This is an OS limitation, especially on iOS where |
But anyway, the piece of code you are referring to is only executed during the app launch. But I remember removing this piece of code because it should now be handled by the I might need to make some tests to investigate it |
@Badisi Thanks for opening this issue. I think a good feature would be to add an option to use Biometric authentication when the app is brought back to the foreground before we do a silent renew, and if it fails, then redirect back to login, like Ionic is doing with Auth Connect and Identity Vault. see here |
After investigation, everything seems to work as expected. Scenario tested:
@ms-emp, were you facing a particular issue here? |
You are right, it works as expected with no issues. Thanks |
@ms-emp, thanks for testing that out 😉 In case of 5.b there were an issue though, where the user was in fact logged out, but not kicked off the app if login_required was true (cf #38). This has been fixed and will be released in the next releases. Regarding the Biometric authentication, this is also something I had in mind and will be investigating later on. I created a discussion for that here : #39 |
Closed as non reproducible |
Is there an existing issue for this?
Library version
latest
Description
Originally asked by @ms-emp
The text was updated successfully, but these errors were encountered: