-
Notifications
You must be signed in to change notification settings - Fork 213
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
System dialog to save password appears for split-second and user has no way to save password #725
Comments
@Widcket can you check this one out. |
Important remark. Ideally the password save dialog should work regardless of As described in https://github.com/auth0/Auth0.swift/blob/master/FAQ.md#1-how-can-i-disable-the-login-alert-box the |
Hi @kirill-konshin, thanks for raising this. Please note that the SDK just defers to the underlying iOS APIs for web-based authentication, in this case, The “Save password” prompt gets dismissed because the redirect to the app callback happens immediately, thus the modal gets dismissed (and with it the prompt). Others report that it is a bug with I'd suggest filing a feedback report with Apple.
Again, this is handled by |
A possible workaround could be to redirect to an interstitial page hosted by you (using an Auth0 Action), that has a button to perform the redirect back to the app (instead of it happening immediately). |
@kirill-konshin hope this helps. We will close this issue for now. Feel free to comment here and we can reopen it for further help. |
@poovamraj this helps, but it does not solve the issue, as EXPO / React Native consumer of the lib, I have no control over what is happening in native code. In my opinion the lib (or it's native counter part) has to properly handle the redirect. Somehow other apps are able to do this right... @Widcket this will produce suboptimal experience, as users will have to press a button every time. I'd say Apple will more likely to react on your feedback rather than on mine :) |
I'm afraid this is a bug on |
Checklist
Description
On iOS after successful login with password, the system prompt to save password is shown but immediately disappears, sometimes not even visible, sometimes visible for split second.
I double checked expo settings, and when I create a password manually in iOS settings, it is prefilled, so from OS standpoint app is configured properly, in my opinion, Auth0 just does not wait for the dialog to save password to be dismissed and rushes back to app...
Community post was not answered...
Reproduction
await authorize({audience: 'xxx'},{customScheme: 'xxx'})
Additional context
I tried it with and without
ephemeralSession: true
, no difference.react-native-auth0 version
2.17.4
React Native version
0.72.3
Expo version
49.0.5
Platform
iOS
Platform version(s)
iOS 16
The text was updated successfully, but these errors were encountered: