i don't expect the default magic-url auth page to work for a flutter app so i'm really curious how things work 🧐
That's what I'm asking myself, why now it works? It's a different hour?
Nope, the session is being opened in the browser instead of the app. That should not happen.
Opened this issue: https://github.com/appwrite/appwrite/issues/5302
right so it doesn't work?
I think it would be good to just use the previous issue
As you explained, the session is not being opened in the app
Since they're different problems that's why I opened another different, in order to prevent mixing different things
they're sort of all connected. the intention seemed to have been that you would use the default magic url page, it would redirect you to the app, and you would have a session
Yes, that's what I want
And then since the user has a session, redirect it to a page
So, best to keep the original issue you created and close the new one as a duplicate
Done
Looks like the Android emulator is bugged and makes appwrite SDK or appwrite cloud not work properly. Meanwhile the exported app works without any inconveniences, the debug app in the emulator opens a new browser window that throws an error, saying that such Auth method is not enabled (obviously it is since if not, the exported app should not work)
I will try to install another emulator, and test directly into my phone to see if that solves all problems
Seems not being related to appwrite
Magic link: missing redirect url
I've tried making an OAuth and it shows missing redirect url, opens the app and the user is not being registered
Same both magic link and OAuth
if you configured things correctly, the user should be redirected back to your app after seeing that page. There's an open feature request for closing the redirect page after redirect or something considering it's a little confusing to see the "error": https://github.com/appwrite/appwrite/issues/3930
It redirects to app, but no user is being created
did the user with the same email already exist? does the app have a session?
No session, email not existing
maybe there was a failure in the oauth flow then. can you go back to the opened browser page and check the URL?
URL seems correct
No error is being shown
There was an existing session, solved
Recommended threads
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...
- Appwrite isn't accepting the api from se...
Error creating user: AppwriteException: Server Error type: 'general_unknown', response: '{"message":"Server Error","code":500,"type":"general_unknown","versi...