Search code examples
keycloakfreemarker

Keycloak - template for handling an already logged in user


Using keycloak 11 I tried to find the page for the already logged in user. I want to customize this page but I fail to find it. I looked into the message to find the message, and I did its called alreadyLoggedIn. I tried looking into each template belonging to the base/login folder but I still didn't find the variable. So I supposed its set somewhere in the code but I didn't find anything in the doc or the forums.

anyone please provide the template name and/or its location in the keycloak repo ?


Solution

  • The page you are looking for is template.ftl. The content of alreadyLoggedIn is in h1#kc-page-title and set by a nested header.