Ajax call login session issue


i created new login page in site1 which try to login and into site2 and site3, i am calling login apis one by one,
its working fine but the issue is session is not being created, when i redirect user to site2 after login, it still asking for login again.

any solution? how sessions are working in frappe?

Try combination of OAuth Client and Social Login Key.

You’ll have to decide one of your frappe site to be auth provider, it’ll host all your users. Create a OAuth Client(s) on this site.

Create Social Login Key on each site using credentials and redirect uri of OAuth Client.

Users can they login using “Frappe” on each site.