I am trying to login with xyz@gmail.com
via discord provider but i get the error code 409. I have checked auh and i don't see any user registered with that email.
<#1166597978107158548> already facing other issues here
also if i try to login with xyz@gmail.com
via google provider then it works
even if its due to an identity being created for diff user why is this error shown with discord provider
wait is this also an intended behavior ??
yes, the user will need to link the discord identity first
but thats not possible right
because xyz@gmail.com
is linked to another user via google provider
or u mean smth else
it is possible. it's possible to have multiple identities with the same email.
the user would need to log in first and then create an oauth2 session with discord. that will create a new discord identity linked to the user. They'll then have 2 identities: one for google and another for discord.
so the user needs to have session for xyz@gmail.com
via google provider
and then create the discord oauth session?
or if u mean no session should exist then i get user_email_already_exists
error
they need to already have a session
isnt this unintuitive for the user .. like if they log out from app then by default they will think that any oauth provider + account combo should work?
or maybe giving devs an alternate option to have 1 identity max per user in auth?
it's a trade-off
i understand.. should i make a feature request for the latter because then no extra identities will be linked to user right + devs will have more freedom?
you could...but i would suggest showing the user an error and maybe telling them to use the same provider before. In addition, you may want to build out a screen that allows users to connect accounts
yes i can do that but then again there is <#1166597978107158548>in which browser session can go undetected and can lead to problems client sided like i wont be able to display the screen
also at starting as a dev u might not wanna waste time on building a complex oauth.. tho yea it can be beneficial to implement it later on
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...