Skip to content

Commit

Permalink
Merge pull request #12459 from sberyozkin/jwt_doc_privatekey_fix
Browse files Browse the repository at this point in the history
Fix the private key location in the smallrye-jwt guide
  • Loading branch information
gsmet authored Oct 2, 2020
2 parents 6ade8c6 + a8b545b commit 1836517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/security-jwt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ in order for the token to be accepted as valid.
<3> The `group` claim provides the groups and top-level roles associated with the JWT bearer.
<4> The `birthday` claim. It can be considered to be a sensitive claim so you may want to consider encrypting the claims, see <<generate-jwt-tokens, Generate JWT tokens with SmallRye JWT>>.

Note for this code to work we need the content of the RSA private key that corresponds to the public key we have in the TokenSecuredResource application. Take the following PEM content and place it into `security-jwt-quickstart/src/main/resources/META-INF/resources/privateKey.pem`:
Note for this code to work we need the content of the RSA private key that corresponds to the public key we have in the TokenSecuredResource application. Take the following PEM content and place it into `security-jwt-quickstart/src/test/resources/privateKey.pem`:

.RSA Private Key PEM Content
[source, text]
Expand Down

0 comments on commit 1836517

Please sign in to comment.