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
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...