Rank 1: Thread
You have to add your own project id
Votes
0
Replies
12
Participants
Unknown
Messages
13
Rank 1: Thread
You have to add your own project id
Rank 1: Thread
projectId is the correct project id in my Appwrite instance
Rank 1: Thread
Well you have to add the above code between application tags ….. tag. Else it’s gonna crash
Rank 1: Thread
Yea, I have added those lines inside tag, however, in this case, I am getting crash.
Without those lines added, I don't have crash, app stucs on Missing Redirect Url Page 😦
Rank 1: Thread
Can you please send me the debug log for the app?
Rank 1: Thread
I think you are following https://appwrite.io/docs/quick-starts/android but if you are using flutter you should follow https://appwrite.io/docs/quick-starts/flutter
Rank 1: Thread
Yes, in case when I am following flutter documentation then, I see Missing redirect URL and nothing more.
You have to add to your createOAuth2Session function redirect URLs using the parameter success and failure.
Admin
On what platform? And what's your project id?
I guess it was Flutter. But the original post is no longer accessible.
Admin
are you still seeing this error?
So the solutions is to add success: "https://<ENDPOINT>/auth/oauth2/success" and failure: "https://<ENDPOINT>/auth/oauth2/failure".
Also preparing Android and iOS is necessary: https://github.com/appwrite/sdk-for-flutter#android and https://github.com/appwrite/sdk-for-flutter#ios.