squallsamaOriginal post
Rank 3: Container
Is it possible to merge accounts when login using different providers such as Google/Apple, but with the same email ?
Summary
The issue of account linking has been solved. The solution is to save the user's information when they log in to the app. The OAuth information can be found by iterating over the sessions. It is also possible to see which providers are used by the user to log in. If the email is the same, the same account will be used. Accounts can also be merged when logging in using different providers but with the same email.