I have two subdomains which have the same root, sub1.example.com and sub2.example.com, I want to use the session created in sub1 in sub2, like SSO, I am checking for the session in sub2 but getting 401, general_unauthorized_scope (attached image)
- I am using the same appwrite endpoint in both subdomains.
- I have the added both subdomain's url in the integration/platform of my project.
TL;DR
Developers are facing issues maintaining sessions between subdomains for SSO. They are using the same appwrite endpoint for both subdomains and have added the URLs of both subdomains in the integration/platform settings of the project. However, when checking for the session in sub2, they are receiving a 401 error with the message "general_unauthorized_scope".Recommended threads
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain — getting 'already exists' error. Pl...
- How can I disable client-side account re...
Hi everyone! I’m currently building a game backend using Appwrite, and I’d like to prevent users from creating new accounts directly through the client. My go...
- Custom domain for Google Auth
Hello! I connected my custom domain to my Appwrite project, but I can't get the Google login/consent screen to show my domain instead of the Appwrite domain. I...