Skip to content

The Keycloak Signature Extension gives Keycloak the ability to sign any values, after the user has "re-authenticated" himself

License

Notifications You must be signed in to change notification settings

keycloak-competence-center/keycloak-signature

Repository files navigation

Keycloak Signature Extension

GitHub release (latest SemVer) Keycloak Dependency Version GitHub Release Date Github Last Commit

CI build open issues

What is it good for?

The Keycloak Signature Extension gives Keycloak the ability to sign any values, after the user has "re-authenticated" himself. If the credentials are valid, Keycloak will response with a signed JWT including the payload.

Implementation Variants

This extension can be used in 3 different ways:

Have a look at the specification for more detailed information about composition and configuration.

Installation

This extension can be downloaded as a Java Archive (jar) and can simply be placed in the providers directory of your Keycloak.

Development

This project creates a custom Keycloak server based on Keycloak.X. It is structured as a multi-module Maven build and contains the following top-level modules:

  • config: provides the build stage configuration and the setup of Keycloak
  • container: creates the custom docker image
  • docker-compose: provides a sample for launching the custom docker image
  • extensions: provides the implementation of the signature extension
  • server: provides a Keycloak installation for local development & testing

Please refer to the tutorial of custom Keycloak for more details of this project.

Requirements

Please have a look at the requirements of custom Keycloak.

For this project, you also need:

Getting Started

  • Please have a look at how you can run custom Keycloak.

  • In order to develop on the <keycloak-signature> component you can use the web dev server. Run the following command under ./extensions/extension-signature/src/main/web:

    npm start

Sponsors

Development of the initial version was sponsored by Körber Pharma

Support

For more support for this extension or your Keycloak project in general, visit Keycloak Competence Center Switzerland