jwt.properties

File purpose

The jwt.properties file is used to configure the authentication based on JWT.

File location

The file is located in the folder mr-common-config\src\main\resources.

File values

Key Value Description
activeviam.jwt.key.public The public RSA key encoded in Base64.
activeviam.jwt.key.private The private RSA key encoded in Base64.
activeviam.jwt.expiration 43200 The lifetime of the tokens in seconds.

To generate new RSA keys, execute JwtUtil.