You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In appwrite, create an API KEY without permissions for Auth.sessions.write
As user, try to login and you will get the error Uncaught AppwriteException: Invalid redirect (in the browser console)
In my case I was using createOAuth2Token with github
馃憤 Expected behavior
To get a more descriptive or informative error.
I only got to know about the solution because I check the logs in the server and I saw the missing scope, it would be good to have some similar error in the SDK
馃憥 Actual Behavior
I see the error: Uncaught AppwriteException: Invalid redirect
馃憻 Reproduction steps
Auth.sessions.write
Uncaught AppwriteException: Invalid redirect
(in the browser console)In my case I was using
createOAuth2Token
with github馃憤 Expected behavior
To get a more descriptive or informative error.
I only got to know about the solution because I check the logs in the server and I saw the missing scope, it would be good to have some similar error in the SDK
馃憥 Actual Behavior
I see the error:
Uncaught AppwriteException: Invalid redirect
馃幉 Appwrite version
Version 1.5.x
馃捇 Operating system
Linux
馃П Your Environment
node-appwrite: 12.1.0-rc.4
next: 14.2.2
appwrite 1.5.5
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: