We have a multi tenant application where every tenant has own subdomain and shared keycloak instance which is hosted on separate subdomain. Keycloak use Google as Default IDP.
The problem we have is when user tries to login to two different tenants accounts. When user logins to second tenant Keycloak returns an error that another user is found.
type=REGISTER_ERROR, realmId=************, clientId=************,
userId=c02226d3-a98d-446b-8fc7-065b371475f9, ipAddress=***************,
error=different_user_authenticated, identity_provider=google, register_method=broker,
consent=no_consent_required, previous_user=1e48a773-0e52-43db-a545-adf43cd54916,
identity_provider_identity=**********************, code_id=8f35c039-f792-4fca-9ee7-cfd8d47d9b16,
email=**********************, username=**********************,
authSessionParentId=8f35c039-f792-4fca-9ee7-cfd8d47d9b16, authSessionTabId=AM_CXVAFF44
Any idea how we can fix it?