<div dir="ltr">Here is the thing, the display name at the cartridge is wrong. If we look at the repository <a href="https://github.com/keycloak/openshift-keycloak-cartridge">https://github.com/keycloak/openshift-keycloak-cartridge</a>.<div><br></div><div>The cartridge itself make use of 1.9.0.CR1 which now it's mandatory to define your admin credentials.</div><div><br></div><div>What you have to do?</div><div><br></div><div>1. Create the cartridge following the documentation instructions.</div><div>2. ssh <a href="mailto:9384983948@yourcartridge-blah.rhcloud.com">9384983948@yourcartridge-blah.rhcloud.com</a></div><div><br></div><div>3. $WILDFLY_HOME/bin/add-user-keycloak.sh -u admin -p admin</div><div><br></div><div>(of course it's not mandatory to be admin/admin :))</div><div><br></div><div>4. rhc app-restart yourapp</div><div><br></div><div>It must work, I will PR the repository to provide the correct display name.</div><div><br></div><div><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 16, 2016 at 2:33 PM Simon Gordon <<a href="mailto:dev@sgordon.totalise.co.uk">dev@sgordon.totalise.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br>
<br>
Sorry if this is a simple one, I'm struggling with OpenShift and the<br>
cartridge instructions<br>
<br>
-- Option 1 -- I've followed the steps at:<br>
<a href="http://docs.jboss.org/keycloak/docs/1.2.0.CR1/userguide/html/openshift.html" rel="noreferrer" target="_blank">http://docs.jboss.org/keycloak/docs/1.2.0.CR1/userguide/html/openshift.html</a><br>
Which points to<br>
<a href="http://cartreflect-claytondev.rhcloud.com/github/keycloak/openshift-keycloak-cartridge" rel="noreferrer" target="_blank">http://cartreflect-claytondev.rhcloud.com/github/keycloak/openshift-keycloak-cartridge</a><br>
<br>
I guessed the URL was <host>/auth (although no output told me that), but<br>
admin/admin login isn't working. This cartridge I used a few months ago and<br>
I did manage to get this working - but now, no luck logging in<br>
<br>
-- Option 2 -- There is also, the older docs at:<br>
<a href="http://docs.jboss.org/keycloak/docs/1.0-alpha-1/userguide/html/openshift.html" rel="noreferrer" target="_blank">http://docs.jboss.org/keycloak/docs/1.0-alpha-1/userguide/html/openshift.html</a><br>
Which says to use:<br>
<a href="https://raw.githubusercontent.com/keycloak/openshift-keycloak-cartridge/master/metadata/manifest.yml" rel="noreferrer" target="_blank">https://raw.githubusercontent.com/keycloak/openshift-keycloak-cartridge/master/metadata/manifest.yml</a><br>
<br>
This seems to lead to an 'empty' WildFly app server - at least, I can't<br>
find a URL to launch which actually provides a KeyCloak instance and no<br>
output from creating the instance which gives a hint<br>
<br>
I feel I'm missing something, although I'm following the guidance on the<br>
pages. Any hints please anyone?<br>
<br>
Cheers,<br>
<br>
Simon<br>
<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></div></div>