No description
Find a file
Thomas Darimont 1dea38bdbb KEYCLOAK-4205 Allow to return json arrays in Client and Realm Role Mappers
Previously the ClientRoleMapper and RealmRoleMapper returned
roles as a comma delimited String in OIDC tokens which
needed to be parsed by client applications.
We now support to generate the role information as JSON
arrays by setting "multi valued" to "true" in the
client role mapper or realm role mappers respectively
which makes it easier for clients to consume.

The default setting for "multi valued" is "false" to
remain backwards compatible.

An example AccessToken that shows the two modes can be found here:
https://gist.github.com/thomasdarimont/dff0cd691cd6e0b5e33c2eb4c76ae5e8
2017-03-08 20:56:56 +01:00
adapters KEYCLOAK-4537 Jetty 9.4 implementation (OIDC/SAML) 2017-03-06 23:01:24 +01:00
authz In case of PKI validation exception HttpMethod throws NPE, because bytes value is null. 2017-02-03 11:24:30 +02:00
boms add adapters dist artifact 2017-03-03 11:45:13 +01:00
common KEYCLOAK-4501 2017-02-27 18:46:00 -05:00
core KEYCLOAK-4501, KEYCLOAK-4511, KEYCLOAK-4513 2017-03-03 09:48:52 -05:00
dependencies KEYCLOAK-4384 Remove Mongo support 2017-02-15 15:20:58 +01:00
distribution KEYCLOAK-4537 Jetty 9.4 implementation (OIDC/SAML) 2017-03-06 23:01:24 +01:00
examples KEYCLOAK-4536 Added troubleshooting section to Cordova example 2017-03-08 12:23:57 +01:00
federation KEYCLOAK-1590 Realm import per test class 2017-03-01 09:38:44 +01:00
integration unlink/remoteimported 2017-02-08 19:48:22 -05:00
misc KEYCLOAK-4384 Remove Mongo support 2017-02-15 15:20:58 +01:00
model Merge pull request #3915 from TeliaSoneraNorge/KEYCLOAK-4524 2017-03-08 10:08:04 -05:00
proxy Bump version to 3.0.0.CR1 2017-01-26 06:18:11 +01:00
saml-core KEYCLOAK-4329 Fix NPE when not providing KeyInfo element in IdP initiated SSO SAML 2017-01-30 11:40:48 +01:00
saml-core-api Bump version to 3.0.0.CR1 2017-01-26 06:18:11 +01:00
server-spi KEYCLOAK-4501, KEYCLOAK-4511, KEYCLOAK-4513 2017-03-03 09:48:52 -05:00
server-spi-private Merge remote-tracking branch 'upstream/master' 2017-03-03 11:00:32 -05:00
services KEYCLOAK-4205 Allow to return json arrays in Client and Realm Role Mappers 2017-03-08 20:56:56 +01:00
testsuite KEYCLOAK-4205 Allow to return json arrays in Client and Realm Role Mappers 2017-03-08 20:56:56 +01:00
themes Merge remote-tracking branch 'upstream/master' 2017-03-03 11:00:32 -05:00
util Bump version to 3.0.0.CR1 2017-01-26 06:18:11 +01:00
wildfly KEYCLOAK-4514: Update migration scripts according to changes to the 2017-03-01 13:53:40 -05:00
.gitattributes
.gitignore
.travis.yml
License.html
pom.xml KEYCLOAK-4537 Jetty 9.4 implementation (OIDC/SAML) 2017-03-06 23:01:24 +01:00
README.md
travis-run-tests.sh KEYCLOAK-4262 make AbstractSamlTest class abstract 2017-02-22 10:20:34 +01:00

Keycloak

Open Source Identity and Access Management for modern Applications and Services.

For more information about Keycloak visit Keycloak homepage and Keycloak blog.

Building

Ensure you have JDK 8 (or newer), Maven 3.1.1 (or newer) and Git installed

java -version
mvn -version
git --version

First clone the Keycloak repository:

git clone https://github.com/keycloak/keycloak.git
cd keycloak

To build Keycloak run:

mvn install

This will build all modules and run the testsuite.

To build the distribution run:

mvn install -Pdistribution

Once completed you will find distribution archives in distribution.

Starting Keycloak

To start Keycloak during development first build as specified above, then run:

mvn -f testsuite/integration/pom.xml exec:java -Pkeycloak-server 

To start Keycloak from the appliance distribution first build the distribution it as specified above, then run:

tar xfz distribution/appliance-dist/target/keycloak-appliance-dist-all-<VERSION>.tar.gz
cd keycloak-appliance-dist-all-<VERSION>/keycloak
bin/standalone.sh

To stop the server press Ctrl + C.

Help and Documentation

  • Documentation - User Guide, Admin REST API and Javadocs
  • User Mailing List - Mailing list to ask for help and general questions about Keycloak
  • JIRA - Issue tracker for bugs and feature requests

Contributing

License