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
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...
- How to use appwrite types
I am using appwrite types --language ts ./types to generate the types yielding something like: ``` import type { Models } from 'node-appwrite'; // This file i...
- Dynamic Roles
I tried to store a row with this permissions: permissions.push( Permission.read(Role.users("verified")), Permission.write(Role.label(`c-${calend...