Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.32 KB

README.asciidoc

File metadata and controls

52 lines (40 loc) · 1.32 KB

Keycloak Add-on for JBoss Forge

Build Status License

This addon provides standalone functionality.

Installation

From Forge CLI:

addon-install-from-git --url https://github.com/forge/keycloak-addon.git

Depends on

Addon Exported Optional

ui

yes

no

projects

yes

no

rest-client

yes

no

Features

Install Client Json

This command will connect to your Keycloak instance and write the necessary WEB-INF/keycloak.json to enable keycloak. IMPORTANT: You need to make sure that the Direct Access Grants Enabled option is enabled for this client

keycloak-install-client-json --server-url http://localhost:9000/auth --realm master --client-id security-admin-console --user admin --password admin
Tip
If you want to configure web.xml, run the following commands, replacing the values as needed:
security-add-login-config --auth-method KEYCLOAK --security-realm master
security-add-constraint --web-resource-name Customer --url-patterns /rest/customers --security-roles user