Using the web SDK and AW Cloud, I call createOAuth2Session that performs the redirect to the provider's login page and then the user is redirected to the success url. The url doesn't contain query parameters and I don't understand how to know which user has been created or logged in. What I'm missing?
When calling the createOAuth2Session you'll provide two URLs
- On success
- On failure.
After each you should show the user the appropriate data.
P.s. On success you then need to run account.get() to let the session start.
See more about that here https://discord.com/channels/564160730845151244/1111116935938187294/1111119219094994966
btw, Vanilla OS looks nice
What is the SDK using to make account.get() to work? I don't see data in the local storage nor in session storage nor in cookies
thanks for the hint anyway! and thanks for Vanilla 😛
That's because the cookie are saved on Appwrite domain Like here
oh, I understand!
now all makes sense
👍
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Hi Appwrite Support Team,My project has ...
Details: Project ID: 69a69f6f00113ed0e8e4 Region: SFO (sfo.cloud.appwrite.io) Error Response: Affected: ALL endpoints — Functions, Databases, Storage, Health, ...