page.login(OAuthProvider) not working on Android after building APK #5768
Unanswered
gt-diego-pizarro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi everyone,
I’m building a mobile app with Flet, using OAuthProvider for authentication (Auth0 as the provider).
When I run the app with flet run or flet run --ios, everything works perfectly — the login button triggers page.login(provider) and opens the browser to start the Auth0 flow.
However, after building the app with flet build apk and installing it on the Android emulator (through Android Studio), the login button doesn’t do anything. It looks like page.login(provider) isn’t working on Android — the browser window for Auth0 never opens.
Has anyone experienced this issue or found a workaround to make OAuth login work in the Android build?
Thanks in advance!
— Diego
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions