Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme not applied #52

Open
githanium opened this issue Jul 25, 2021 · 0 comments
Open

Theme not applied #52

githanium opened this issue Jul 25, 2021 · 0 comments

Comments

@githanium
Copy link

githanium commented Jul 25, 2021

Hey all,

I might have not read the documentation properly and apologise in advance if this is the case.
I am trying to apply a theme at runtime when the server is started.
The login theme is loaded correctly and when I access the portal manually I can apply it and everything works as expected.
However I cannot do the same when loading the configuration from my realm.json file

Theme called modern

image

in realm.json I have

"loginTheme": "modern",

and within the client still in realm.json

"attributes": {
        "login_theme": "modern",
        ...
}

keycloak-themes.json

{
  "themes": [
    {
      "name": "modern",
      "types": ["login"]
    }
  ]
}

What am I missing? Why when I start the app the theme is not applied automatically and still need a manual input??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant