Closed ahmet-fennel closed 1 year ago
Hi @ahmet-fennel,
Our mobile SDKs do not support in-app webviews. The current best practice for authorizing users on mobile apps requires using an external user-agent (that is, a browser).
See https://auth0.com/blog/oauth-2-best-practices-for-native-apps/.
As such, this is something we won't add support for.
Checklist
Describe the problem you'd like to have solved
Currently, when invoking the authentication process, a pop-up opens in an external browser window. This behavior is not ideal for our user experience, even when useEphemeralSession: true is set. We're wondering the possibility of integrating the InAppWebview package with the auth0-flutter library to enhance the user experience.
Describe the ideal solution
Ideally, invoking
webAuthentication().login()
should direct users to an in-app page powered by InAppWebView. This would ensure that users remain within the app environment throughout the authentication process, providing a more seamless and integrated experience.If there are technical constraints preventing this integration, we would greatly appreciate insights into those challenges. Such information would be invaluable in helping us understand and potentially seek alternative solutions.
Thank you for considering our feedback.
Alternatives and current workarounds
No response
Additional context
No response