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
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- Provider not enabled in Dotnet project
# Bug Report: Appwrite .NET SDK `CreateOAuth2Token` → `project_provider_disabled` ## Issue Using **Appwrite .NET SDK (v3.1.0)**, `CreateOAuth2Token` for Googl...
- Stuck on project restoration after inact...
Hey there! My project was paused due to inactivity today. I tried to restore it, but it's completely stuck on the restoration process. Could someone please tak...