Keycloak theme not updating for the realms login from applications - keycloak

I have a KeyCloak 12.0.2 application running on docker. Now I am trying to update the themes for login screens for the Realms. Whenever I go and change the theme from Realm theme setting -
UC1 - Open KeyCloak instance, the properly selected theme login page will appear. No issues!
UC2 - Open my application, click login, and the login page will have KeyCloak theme always, even though I tried selecting the different theme for a master or the specific Realm.
This is the theme which is appearing on my login screen whenever I go here from any application which is configured to use KeyCloak as SSO, its regardless of which theme I select from the Realm setting always-
I have checked and configured on the KeyCloak login screen, the theme will change as per the selection of themes for the Master realm -
I have made changes into the standalone.xml file related to the theme cache as follows -
<theme>
<staticMaxAge>-1</staticMaxAge>
<cacheThemes>false</cacheThemes>
<cacheTemplates>false</cacheTemplates>
<welcomeTheme>${env.KEYCLOAK_WELCOME_THEME:keycloak}</welcomeTheme>
<default>${env.KEYCLOAK_DEFAULT_THEME:keycloak}</default>
<dir>${jboss.home.dir}/themes</dir>
</theme>
I am kind of stuck here as I have to add multiple themes based on the Realms I have in the KeyCloak. I also tried to restart the container in which KeyCloak is running but no luck.

After lots of digging, I found out that I was changing the theme in the wrong place. To update the theme of the SSO login page, you need to select the theme using - Realm -> Clients -> Appropriate Client Name -> Theme.
If you try to change the theme using Realm -> Realm Settings ->Themes, only the login screen for the Admin console will change.

Related

How to disable theme caching in keycloak 20

I am running keycloak 20.0.3 in docker with setting KC_CACHE: ispn
I have a few themes for the login page. How can I disable and clear theme caching ? Newer version of keycloak does not have standalone_ha.xml

Enable internationalization in keycloak admin console 19.0.2

I've recently switched from keycloak 18.0.2 to 19.0.2 version.
In the old version I may enable internationalization in 'theme' tab.
In the new version this toggle is disappeared.
Where I can find it?
On the new UI you need to go to Realm Settings > Localization as you can seen in the image below:

I need config Collapsed Topics of course in moodle mobile app

I clone the moodle mobile app from git and config my local. already I have a server and it includes moodle web and config it properly on the server. also i config site URL in my mobile app and log in to in. then I go to the dashboard then select course. it appears as below.
Course inside categories appear as this
but I want to config it as Collapsed Topics of course categories. any one can help me plz?

Changing the appearance and user authentication in Owncloud

I installed owncloud 10.0.8 on centos 7 and everything went well. Since I needed user authentication via Active Directory I installed “LDAP Integration” from the market and suddenly the background and the name change to “Custom Cloud”. Now despite changing the background file and some change in “/lib/private/legacy/defaults.php” file nothing changes.
What should I do to apply my changes and what is “Custom Cloud”?
Is it correct to use “LDAP Integration” app for user authentication via Active Directory ?
Regards
Not sure about Owncloud. In Nextcloud the theming can be easily done in the webui and LDAP is already included. Nextcloud is faster and has a lot more features and is fully open source. So I suggest that you try this instead.

Moodle Authentication (auth_googleoauth2) plugin not working

i am using moodle 3.0.
I want to login with on my website, so i have downloaded Authentication (auth_googleoauth2) plugin from moodle directories.
also put the clientID and client secret into setting plugine page.
But on login page still not showing buttons for "login with google".
Any thing i am missing can any one help how to use this plugin.
Is it enabled? Go to site admin -> plugins -> authentication -> manage authentication
https://docs.moodle.org/30/en/Managing_authentication#Setting_the_authentication_method.28s.29