Keycloak: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Setting up Server= ==Install Podman=== <syntaxhighlight lang="bash"> sudo apt install podman </syntaxhighlight> ==Create Image== <syntaxhighlight lang="bash"> podman pull qua..." |
|||
Line 10: | Line 10: | ||
podman run -d \ | podman run -d \ | ||
--name keycloak \ | --name keycloak \ | ||
-p | -p 8081:8080 \ | ||
-e KEYCLOAK_USER=admin \ | -e KEYCLOAK_USER=admin \ | ||
-e KEYCLOAK_PASSWORD=AdminPAssw0rd \ | -e KEYCLOAK_PASSWORD=AdminPAssw0rd \ | ||
quay.io/keycloak/keycloak:12.0.1 | quay.io/keycloak/keycloak:12.0.1 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Configure Keycloak== | ==Configure Keycloak== | ||
Disable https | Disable https |
Revision as of 00:48, 1 April 2021
Setting up Server
Install Podman=
sudo apt install podman
Create Image
podman pull quay.io/keycloak/keycloak
# Note I run tomcat so changed the ports from 8080
podman run -d \
--name keycloak \
-p 8081:8080 \
-e KEYCLOAK_USER=admin \
-e KEYCLOAK_PASSWORD=AdminPAssw0rd \
quay.io/keycloak/keycloak:12.0.1
Configure Keycloak
Disable https
podman exec -it keycloak bash
./kcadm.sh config credentials --server http://localhost:8080/auth --realm master --user admin
./kcadm.sh update realms/master -s sslRequired=NONE