You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes after the login flow completes and the inAppBrowser closes, the callback handling fails with the error 'missing_transaction'. This is because the Android system has killed my app to free up memory while it was in the background. When the callback reopens the app the transaction data is lost because it was saved in SessionStorage. My problem is that I can't change the storage location to something that isn't wiped during a restart. I can only configure cookie or session storage.
Describe the ideal solution
I would like to set my own transactionStorage in the AuthorizationParams config object similar to how the cache configuration works. I already created a proof of concept in this commit: mfrey43@90da310
Alternatively, if I had the option to configure the transaction manager to use the cache for storage that would also work for me. I already configured the cache to use the device's native encrypted storage option.
Alternatives and current workarounds
No response
Additional context
I use this library directly without the auth0-angular wrapper because I needed more control.
The text was updated successfully, but these errors were encountered:
Checklist
Describe the problem you'd like to have solved
My Ionic app uses the Capacitor Browser extension as described in this official guide: https://auth0.com/docs/quickstart/native/ionic-angular/01-login
Sometimes after the login flow completes and the inAppBrowser closes, the callback handling fails with the error 'missing_transaction'. This is because the Android system has killed my app to free up memory while it was in the background. When the callback reopens the app the transaction data is lost because it was saved in SessionStorage. My problem is that I can't change the storage location to something that isn't wiped during a restart. I can only configure cookie or session storage.
Describe the ideal solution
I would like to set my own transactionStorage in the AuthorizationParams config object similar to how the cache configuration works. I already created a proof of concept in this commit: mfrey43@90da310
Alternatively, if I had the option to configure the transaction manager to use the cache for storage that would also work for me. I already configured the cache to use the device's native encrypted storage option.
Alternatives and current workarounds
No response
Additional context
I use this library directly without the auth0-angular wrapper because I needed more control.
The text was updated successfully, but these errors were encountered: