Heyo!
Does someone have a working way for OAuth2 using REST? I am struggling to get it to work, for example using the discord oauth, I am getting:
Request header field x-appwrite-response-format is not allowed by Access-Control-Allow-Headers in preflight response.
you're supposed to redirect the user to that URL
This is what the docs say: https://appwrite.io/docs/references/cloud/client-rest/account#createOAuth2Session
So that's exactly what I am doing
There's also nothing else in the docs about this, it's very empty, so I don't know where to send the user to
tip: refer to the SDKs
it doesn't say enough for me though, that's what the docs say and I am doing, also this is also outdated: https://appwrite.io/docs/products/auth/oauth2
account.createSession doesn't seem to exist :/
Recommended threads
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...