Score:0

keycloak: Sharing autentication beetween different domain

mx flag

my company has multiple top domains, eg.

foo.com
bar.net
baz.org

I have created a subdomain for each authentication domain:

auth.foo.com
auth.bar.net
auth.baz.org

and behind each subdomain there is the same keycloak instance.

The authentication works as long as the user stays within the same top domain but as soon as the user changes the top domain he’s in he’s logged out.

Is there a way for sharing the authentication among multiple domains?

The main issue is that the cookies are not shared among the different domains.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.