Install Keycloak
Install Keycloak
2) from here
2. Place the file in a directory you choose.
3. Unpack the ZIP file using the appropriate unzip utility, such as unzip, tar, or Expand-Archive
(for windows powershell).
$ unzip keycloak-15.0.2.zip
or
For windows :
> Expand-Archive -Path 'C:Downloads\keycloak-15.0.2.zip' -
DestinationPath 'C:\Downloads'
[Install]
WantedBy=multi-user.target
Launching Keycloak in standalone mode:
If you have “HTTPS required” error message in Administration console visit this guide (Step7):
$ /opt/keycloak/bin/kcadm.sh config credentials --server
http://localhost:8080/auth --realm master --user <admin-
username>
–-password <admin-password>
$ /opt/keycloak/bin/kcadm.sh update realms/master -s
sslRequired=NONE
http://server_ip:8080/auth/realms/<RealmName>/account/
$ vim /opt/keycloak/bin/launch.sh
$ vim /etc/systemd/system/keycloak.service
ExecStart=/opt/keycloak/bin/launch.sh $WILDFLY_MODE
$WILDFLY_CONFIG $WILDFLY_BIND $WILDFLY_MANAGEMENT_CONSOLE_BIND
Test