Skip to content

Commit

Permalink
Add documentation for the new base64-secret property
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Aug 30, 2018
1 parent de6a8a3 commit 8ce4f7c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/common-application-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ Here is a documentation for those properties:
client-secret: # OAuth client secret
authentication:
jwt: # JHipster specific JWT implementation
secret: # JWT secret key
# The secret token should be encoded using Base64 (you can type `echo 'secret-key'|base64` on your command line).
# If the "base64-secret" property is empty, then the application will try to use the "secret" property, which is
# less secure.
secret: # JWT secret key in clear text (not recommended)
base64-secret: # JWT secret key encoded in Base64 (recommended)
token-validity-in-seconds: 86400 # Token is valid 24 hours
token-validity-in-seconds-for-remember-me: 2592000 # Remember me token is valid 30 days

Expand Down

0 comments on commit 8ce4f7c

Please sign in to comment.