Hi team, first let me thank you for the amazing project.
I am currently integrating OAuth2 authentication but found out that there are multiple failure cases where users will be stuck in the Appweite managed redirect page (https://<appwrite domian>/v1/account/sessions/oauth2/<provider>/redirect
).
One example is when there is an existing user/identity with the same provider email, it will render a 409 User already exists error page. I believe cases like these should be redirected to the failure
redirect url and let clients decide how to handle them, instead of having users stuck in an external generic error page.
What do you think about this behavior? I can file a PR if there is no concern.
Recommended threads
- type 'Null' is not a subtype of type 'bo...
Flutter Appwrite Package is throwing this error when trying to get currently logged-in user. I'm using `Appwrite v1.6.0` self hosted and Flutter's `Appwrite S...
- Issue with OAuth Callback Parameters in ...
I'm using the createOAuth2Token() function and I have the following questions: First, I would like to know if the redirect link is correct. Second, when I try ...
- AppwriteException: User (role: guests) m...
Please how do i solve this issue? Below is my code export const createUser = async (username, email, password) => { try { const newAccount = await acco...