JWKS URI Endpoint#
Janssen Server supports /jwks metadata endpoint and publishes its JSON Web Key Set (JWKS) at this endpoint. This
endpoint publishes signing keys as well as encryption keys used by Janssen Server. RP can use these keys to validate
signatures from Janssen Server, and also to perform encryption and decryption. Like other metadata endpoints, this is
not a secure endpoint. Further details on this endpoint and JWKs can be found in OpenID Connect Discovery
specification.
URL to access jwks endpoint on Janssen Server is listed in the response of Janssen Server's well-known configuration endpoint given below.
https://janssen.server.host/jans-auth/.well-known/openid-configuration
jwks_uri claim in the response specifies the URL for jwks endpoint. By default, the jwks endpoint looks like below:
https://janssen.server.host/jans-auth/restv1/jwks
This endpoint is always enabled and can not be disabled using feature flags.
Configuration Properties#
End session endpoint can be further configured using Janssen Server configuration properties listed below. When using
Janssen Text-based UI(TUI) to configure the properties,
navigate via Auth Server->Properties.
External JWKS URI#
If jwksUri does not start with the server issuer, Janssen Server downloads the keys from that external URL when
configuration loads. By default, startup fails if the download fails (network error, TLS handshake failure, invalid
response). Set allowStartupOnJwksUriFetchFailure to true to start anyway. The server then runs without keys, logs an
error, and retries the download every configuration check interval (30 seconds) until it succeeds. While keys are
missing, operations that need server keys fail. Keep the default false unless the external JWKS host can be
unavailable at startup.
Want to contribute?#
If you'd like to contribute content to this page, you can get started with our Contribution guide.