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
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...