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