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
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...