Hello there, I'm trying to add social login to the react todo app and when I click on login with discord I get redirected to discord properly but then when I login I don't get logged in and see a request with "User (role: guests) missing scope (account)".
Anyone have an idea what is wrong here?
You can check it out on https://RainyDo.ch Repo: https://github.com/RainySystems/RainyDo (feel free to open a pull request if you find the issue and know a fix 🙂 )
Best regards RainyDev
One reason why this might happen is if the browser blocks 3rd party cookies. See https://appwrite.io/docs/custom-domains
Ahh that would make sense
but would be really unfortunate since I can't add custom domains in my deployment :c
Why?
I've deployed it with coolify and there seems to be no support for custom domains
the cname record is there
seems to be a coolify proxy issue
need to wait for coolify v4 I guess where the proxy config can be edited
So this allows you to set up the SSL certificate. Do you have any other way to set up the SSL certificate?
I can only configure one domain name(virtual host) for a deployment in coolify so I have to wait
What if you turn on the proxy in cloudflare?
as a temporary solution I'll keep rainydo running on a subdomain of the maindomain and do a redirect from the rainydo domain
doesn't change anything unfortunately the origin is still the same so the proxy won't know what to do with it 😄
Huh?
Oh NVM
I see what you mean
I see. That sounds right
worked perfectly on the subdomain btw
So I'll just have to wait it out 🙂
Unless if you can manually go into coolify and manually edit the nginx config
That would be a pain and would get overwritten I guess
I've not digged really deep into it but I expect this sort of behaviour 😄
Thank you for your help tho 🙂 Straight away useful and works now I was getting horrified already and hotfixed a few things what couldn't even be hotfixed on the webapp's side 😄
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- 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...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...