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
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...