Skip to content

forge/keycloak-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages