This doesn't seem to be supported. Question is why you need it? All the cookies like KEYCLOAK_IDENTITY are set by keycloak server and it's just the keycloak server, which is supposed to read them.

Marek

On 26/10/15 14:26, keycloak-user.myq@xoxy.net wrote:
Hello. How can I set the domain of session cookies?

I want to run keycloak at auth.mydomain.com and get the session cookies (for SSO) at other subdomains of mydomain.com.

Browsers will allow sub.domain.com to set cookies for domain.com, but I can't figure out how to get Keycloak to do this.

Thanks in advance!


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user