config.jwt.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-token Show documentation
Show all versions of oauth2-token Show documentation
A micro service server that issues JWT tokens.
# 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