<div dir="ltr">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!).<div><br></div><div>Looks like now&#39;s as good a time as any to upgrade ;)</div><div><br></div><div>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.</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Mar 6, 2016 at 11:12 PM Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 5 March 2016 at 03:35, Chris Hairfield <span dir="ltr">&lt;<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">We&#39;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&#39;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?</blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>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.</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br></div><div>On a related note, is it possible to configure the admin user such that we don&#39;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&#39;d be curious to know whether my ask is possible on either 1.6.1 or higher.</div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Upgrade to 1.9.x!</div><div><br></div><div>See <a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/server-installation.html#d4e116" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/server-installation.html#d4e116</a> for more details on admin user</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br></div><div>Thanks!</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div></div>
</blockquote></div>