I want to link both session of a user, so later say user logs in using their email password instead of oauth, I want to be able to get the oauth access token. The questions are
- Logging in via email password, will it still give me access token?
- Afaik, appwrite merges both Email/password and oauth account if they have same email. But what for different email? How will it be the workflow to merge? Is it possible?
- As creating a session is prohibited while a session is active Do i just call createoauth token and just leave it at that point? Not creating a oauth session?
TL;DR
1. Logging in via email/password won't give an access token, but you can generate one after authentication.
2. Appwrite merges accounts with the same email but not with different emails.
3. To merge sessions, call createOAuth token after logging in with email/password and leave it as is without creating an OAuth session.Recommended threads
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...