[keycloak-user] Encoding theme selection in realm?
Chris Hairfield
chairfield at gmail.com
Sun Mar 27 15:52:18 EDT 2016
To anyone interested in how to set up an admin user permanently (without
having to modify its password on initial login), it becomes easy in 1.7.x.
Running the add-user.sh script like `bin/add-user.sh -u admin -p admin` has
the desired effect. Unfortunately, trying to do the same on a clean install
of 1.6.x is failing for me when trying to create either a Management User
or Application User; I am unable to log in to the newly-created user even
though the script completes without errors (and I restarted the server, of
course!).
Looks like now's as good a time as any to upgrade ;)
P.S. I was bitten last upgrade when I tried to jump from 1.4.0 to 1.6.1
without stepping through 1.5.x in-between. Once bitten, twice shy.
On Sun, Mar 6, 2016 at 11:12 PM Stian Thorgersen <sthorger at redhat.com>
wrote:
> On 5 March 2016 at 03:35, Chris Hairfield <chairfield at gmail.com> wrote:
>
>> We've built some themes, login and email, and configured our Keycloak
>> 1.6.1 such that the theme is available in both dropdowns on the first start
>> of the server, but I'd like to optimize a bit more. Since we import our
>> realms, is it possible to configure them such that our theme is selected
>> without any manual input?
>
>
> If you are handcrafting the realms you are importing then just add
> loginTheme and emailTheme fields on the realm. If you are using export,
> then the themes should already be set.
>
>
>>
>> On a related note, is it possible to configure the admin user such that
>> we don't need to reset their password on first start of the server? We
>> expect to upgrade to 1.7.x or higher soon, which may be relevant given how
>> the admin account is removed. I'd be curious to know whether my ask is
>> possible on either 1.6.1 or higher.
>>
>
> Upgrade to 1.9.x!
>
> See
> http://keycloak.github.io/docs/userguide/keycloak-server/html/server-installation.html#d4e116
> for more details on admin user
>
>
>>
>> Thanks!
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160327/2eeea132/attachment.html
More information about the keycloak-user
mailing list