Skip to content

Commit

Permalink
fixes networknt#801 add password to the jwt.yml as the secret.yml is …
Browse files Browse the repository at this point in the history
…removed (networknt#802)
  • Loading branch information
stevehu committed Nov 8, 2020
1 parent 56ceaa3 commit 4ac6407
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/src/integration/resources/config/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ key:
filename: "primary.jks"
password: password
keyName: selfsigned
password: password # private key store password and private key password is the same
issuer: urn:com:networknt:oauth2:v1
audience: urn:com.networknt
expiredInMinutes: 10
Expand Down
4 changes: 2 additions & 2 deletions client/src/main/resources/config/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tls:
defaultGroupKey: ${client.defaultGroupKey:trustedNames.local}
# trusted hostnames, service names, service Ids, and so on.
# Note: localhost and 127.0.0.1 are not trustable hostname/ip in general. So, these values should not be used as trusted names in production.
trustedNames:
trustedNames:
local: localhost
negativeTest: invalidhost
negativeTest: invalidhost
empty:
# trust store contains certifictes that server needs. Enable if tls is used.
loadTrustStore: ${client.loadTrustStore:true}
Expand Down
1 change: 1 addition & 0 deletions client/src/test/resources/config/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ key:
filename: "primary.jks"
password: password
keyName: selfsigned
password: password # private key store password and private key password is the same
issuer: urn:com:networknt:oauth2:v1
audience: urn:com.networknt
expiredInMinutes: 10
Expand Down
1 change: 1 addition & 0 deletions info/src/test/resources/config/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ key:
filename: "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.
password: password # private key store password and private key password is the same
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
Expand Down
1 change: 1 addition & 0 deletions security/src/test/resources/config/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ key:
filename: "primary.jks" # private key that is used to sign JWT tokens.
keyName: selfsigned # key name that is used to identify the right key in keystore.
password: password # private key store password and private key password is the same
password: password # private key store password and private key password is the same
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
Expand Down

0 comments on commit 4ac6407

Please sign in to comment.