All Downloads are FREE. Search and download functionalities are using the official Maven repository.

config.jwt.yml Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
# This is the default JWT configuration and need to be updated when used to issue JWT tokens. It is a component that used to
# issue JWT token. Normally, it should be used by light-oauth2 only but can be used to issue tokens distributely.
---
# Signature private key that used to sign JWT tokens.
key:
  kid: '100'                               # kid that used to sign the JWT tokens. It will be shown up in the token header.
  filename: "/config/oauth/primary.jks"    # private key that is used to sign JWT tokens.
  password: password                       # password for the private key. It should be set during deployment time along with pk
  keyName: selfsigned                      # key name that is used to identify the right key in keystore.
issuer: urn:com:networknt:oauth2:v1        # default issuer of the JWT token
audience: urn:com.networknt                # default audience of the JWT token
expiredInMinutes: 10                       # expired in 10 minutes by default for issued JWT tokens
version: '1.0'                             # JWT token version




© 2015 - 2025 Weber Informatics LLC | Privacy Policy