hi, I'm trying to enable authorization via github, but I get an error using android kotlin { "message": "Invalid redirect URL for OAuth success.", "code": 400, "type": "project_invalid_success_url", "version": "1.6.1" }
TypeScript
activity = this@MainActivity,
provider = OAuthProvider.GITHUB,
success = "https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/github/67b693810011e520cf60", // Callback URL
failure = "https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/github/67b693810011e520cf60"
)
TL;DR
Developers are encountering an error with oAuth GitHub due to an invalid redirect URL for OAuth success. The issue is present in the Android Kotlin code snippet provided. The solution is to ensure the correct redirect URL is used for OAuth success.please help
Recommended threads
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- Need Help on Self Hosted Version of Appw...
Hi i wanted to test SMS OTP verify method but i am not able to do it. I follow all the steps but no luck. Please help me with this. I am using Appwrite self hos...
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...