If I use the social login to get into application 1 then SSO is working fine for application 2. We are having this issue in case of a normal login through rest API.
As explained above, we have configured 2 domains www.abc.com and www.abc.co.uk and want SSO to work. We have angular front end with java boot as the back end. We have configured Java boot with Keycloak via rest API and using our own login pages without using Keycloak themes. User could able to login to both domains individually but NO SSO is working.
I have implemented CORS but still, No SSO is working
SSO is working for social login by making use of Check-SSO but its not working for normal login which is configured through REST API via spring boot adapter.
Please suggest how to make SSO work for multiple domain without compromising the security.