
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
- Error Migration Cloud to Self Hosted
Hello ! When doin migration, here is the message i've got : "Error occurred while pushing 'document:67efa41b00259efefe84' to destination with message: 'I...
- Issue with Auth cookies and Custom Domai...
Hello, I am hoping this is just a simple issue that I am missing something but by how I am readying the documentation I believe something is not adding up. The ...
- appwrite sites subdomain wildcard dns?
I’ve changed my domain’s nameservers at domain service to point to **ns1.appwrite.zone** and **ns2.appwrite.zone**, and I’m waiting for DNS propagation. Once A...
