Replies: 1 comment 2 replies
-
@ombinte the token you have pasted above has |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my Quarkus microservice i use the SamllRye JWT API for validation of JWT and Microprofile @RolesAllowed for securisation of my REST API.
For test it I generated a JWT using the GenerateToken define in security-jwt-quickstart in Quarkus quickstars project : https://github.com/quarkusio/quarkus-quickstarts: I used privateKey.pem and publicKey.pem found in the project
When I try to get use my REST API I always obtain a http code 401
REST Api
application.properties
JWT generate
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJRdWFya3VzIEdlbmVyYXRlVG9rZW4iLCJzdWIiOiJqZG9lYWRtaW4iLCJ1cG4iOiJqZG9lIiwiYXVkIjoib21iLmNvbSIsImV4cCI6MTk1ODIwMDU3NiwiaWF0IjoxNjQyNjY3Nzc2LCJncm91cHMiOlsiQWRtaW4iXSwiR2l2ZW5OYW1lIjoiamRvZWFkbWluIiwiU3VybmFtZSI6IkRvZSIsIkVtYWlsIjoiamRvZUBlbWFpbC5jb20iLCJSb2xlIjoiQWRtaW4iLCJqdGkiOiIyYTk0MGJiNy1lNTQyLTQzMmQtOTg3MS00ZGE1YWRhNDY3NDUifQ.L4drXUkH_leu4Wb36g_pVdGil0f9hlzQwDzknXq2xTdQdv5TKmnj27mRzVU2oP1ZfbgwYKUhdA8YqXuwfLt5ja8yFB7Lc26a8RBdIAHFcnq4Q37Ged57mbPt35aQ68kWyRP7ouRj-BgUnnOaQaIlMQnkKA5JBP1uzH4A0OBiN2FGvAVgvu0R-2o-JTapwo4OR7BtkC2glDsm2Xgqk8jylxrktWEaxhuliuHG9s2JVJXmRrvc7DuQJICCiQYb8UkzrIgsLtkTV5X32cQmGKBVhvv7GzbZbZC49f2JB56ShfqfKdOo52NJ9YBCCFwaEf1q5I3I9_aItcmVOwNCK56WQA
Error log
Beta Was this translation helpful? Give feedback.
All reactions