We have set 3 sites in Frappe.
- Site 1 - This site provides OAuth Authentication and User will login through this site
- Site 2 - Username/Password login is disabled here. User will be forced to login through Site 1 and Social Login is configured here.
- Site 3 - Username/Password login is disabled here. User will be forced to login through Site 1 and Social Login is configured here.
This setup is working fine. But we have VueJS application which again redirects the user to Site 1 where authentication happens and a token is being generated. When we use the same token in Site 2 to fetch some data which this user has over there, we are getting 401 authentication error. Need an advice on how to resolve this issue?
Thanks in advance…!!!