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
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- Database listRows method call failing in...
I'm getting an error when trying to use listRows in a flutter app on a database. It seems something in the backend has changed because the production version of...
- Google's "Choose an account" screen stuc...
I've been struggling with this problem on my servers (self hosted 1.6.0 & 1.7.4) , multiple projects , multiple apps , and I think I have reached a very strange...