Web Developer
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.