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
- GitHub Status Badges for Appwrite Servic...
Hey everyone! Is it possible to add GitHub status badges for specific Appwrite services like Sites builds, Functions, Databases, etc.? Would love to display bu...
- Error 500 when updating password
As title says, I'm trying to perform this operation ``` await user.updatePassword(id, password); ``` and getting the following error: ``` { code: 500, t...
- Does migration to self hosted limited to...
I tried to migrate to self hosted one of my live production database. All is migrated successfully except one table data which contains more than 5k rows...is i...