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 images from storage
I tried the link above, but it returns the error “`Please upgrade to a higher plan.`” I don’t need Transformations at the moment, I just want to display the ima...
- Cant sign up for appwrite cloud. Never s...
Cant sign up for appwrite cloud. Never sends me an email verification
- The file size is either not valid or exc...
Hello, I am receiving the following error when I am trying to deploy a function from my local. ``` > appwrite push functions --function-id xxxxxxxxx ℹ Info: Va...