-
Notifications
You must be signed in to change notification settings - Fork 43
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
"Not found" upon logging in on Android 33 #321
Comments
I tried it also on Android 29 and the same thing is happening. Maybe it has something do do with my existing auth0 setup? Previously, login was happening with a POST to |
This appears to be an Android issue, it's working fine on my iOS device with the same code. Both the same project and my own are working fine and I get tokens back |
I'm having the same problem, will report back if I find a solution. |
So if you're defining https as a custom scheme, that seems to have been my problem. |
Closing, as the issue seems to have been resolved. Please feel free to ping if you'd prefer to reopen. |
@Widcket could you direct me to any solutions/docs on how people fixed this in the past please? The sample project has this issue out of the box for me so I'm not sure how this is resolved. For scheme I have just what the example project has:
and
Custom scheme was not set in my .env, I tested deleting the |
@poovamraj could you please take this one? |
Please re-open this issue, as it seems to be common and unresolved. I tried changing the scheme to "demo" and adding another callback url in Auth0, but that didn't work. https://community.auth0.com/t/flutter-webauth-redirects-to-not-found-page/89557 https://community.auth0.com/t/flutter-gives-not-found-instead-of-redirecting-to-app/98929 |
Can you post you're callback links from ur auth0 application off the dashboard? Sounds like you may have them in their wrong. |
I am confident they are set properly, or else I would see the callback mismatch screen upon trying to log in. I saw this screen at one point during setup when I just tried to run the plugin without adding the URL's yet. If I use https as my scheme, this happens:
If I use "demo" as my scheme, this happens:
|
I'm not sure the root cause for custom schemes but for This guidance is provided here and here and is missing from the pub.dev equivalent. Although it's covered in |
Checklist
Description
Upon logging in with
webAuthentication
andlogin
, after entering my username and password, I see a screen which just says "not found". The future does not complete from login and I do not get the login tokens. Pressing X from this screen counts as cancelling the login.Reproduction
Additional context
The same thing happens with my actual app, but I can reproduce it in the sample project as well.
auth0_flutter version
1.2.0
Flutter version
3.10.6
Platform
Android
Platform version(s)
Android 33
The text was updated successfully, but these errors were encountered: