
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
- no TLS certificate generated for custom ...
Still getting the SAN errors on a custom domain that is verified but it has not generated the certificate yet and idk why aint working as expected
- Getting this error while trying to send ...
Error creating user: app.(my_project_id)@service.nyc.cloud.appwrite.io (role: applications) missing scope (account) while trying to register a new user, and sen...
- Appwrite Sites - getaddrinfo ENOTFOUND
Has anyone had a problem having appwrite on a subdomain in the project custom domains? We have an issue with the Appwrite Sites. Sometimes the internal node:dns...
