Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT quickstart does not work in native mode #296

Closed
cescoffier opened this issue Sep 27, 2019 · 4 comments
Closed

JWT quickstart does not work in native mode #296

cescoffier opened this issue Sep 27, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@cescoffier
Copy link
Member

It's unable to find the pem file:

2019-09-27 17:55:34,620 WARN  [io.sma.jwt.aut.pri.DefaultJWTTokenParser] (vert.x-eventloop-thread-12) Token is invalid: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.UnresolvableKeyException: Failed to resolve a key from: META-INF/resources/publicKey.pem): JsonWebSignature{"kid":"\/privateKey.pem","typ":"JWT","alg":"RS256"}->eyJraWQiOiJcL3ByaXZhdGVLZXkucGVtIiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJqZG9lLXVzaW5nLWp3dC1yYmFjIiwiYXVkIjoidXNpbmctand0LXJiYWMiLCJ1cG4iOiJqZG9lQHF1YXJrdXMuaW8iLCJiaXJ0aGRhdGUiOiIyMDAxLTA3LTEzIiwiYXV0aF90aW1lIjoxNTY5NTk5NzM0LCJpc3MiOiJodHRwczpcL1wvcXVhcmt1cy5pb1wvdXNpbmctand0LXJiYWMiLCJyb2xlTWFwcGluZ3MiOnsiZ3JvdXAyIjoiR3JvdXAyTWFwcGVkUm9sZSIsImdyb3VwMSI6Ikdyb3VwMU1hcHBlZFJvbGUifSwiZ3JvdXBzIjpbIkVjaG9lciIsIlRlc3RlciIsIlN1YnNjcmliZXIiLCJncm91cDIiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiamRvZSIsImV4cCI6MTU2OTYwMDAzNCwiaWF0IjoxNTY5NTk5NzM0LCJqdGkiOiJhLTEyMyJ9.Orn6q46XwbcQN8heUeXI9he9loRwTfbsGJFV8nnbxizhcppeKt8b5EA3VPb-Fvo-4uDL2Tu388MbqJKypyEdcKCpmMugbUrNpuiDRlQIoHJalb9wG7YAQwwdjlwKuFCsfVnH3Jju39eyh7W5LxoenpCRlg9x3GU2HuHXMHC9KJMtXWvyHoNfmomhs6NZ1Z85xyYGf-gxAP7_XJuml7oBwNUqgF3lJpATEaMinaAiBSHWj4DEa2_Jb0FAA4FdPbhyimYsCTIF1LRFXf7n8KwGrq3YSY8STsk66dYVG5l__-jsYM3lV_mqanGvpTCd8zf3y2bL4K2yH6Sy_F1XgtnEaw]
@sberyozkin
Copy link
Member

@cescoffier thank you, I've added myself to the assignee list
@kenfinnigan Hi Ken if you'd like to remain in the list of assignees then please stay :-)

@cescoffier cescoffier added the bug Something isn't working label Sep 28, 2019
@sberyozkin
Copy link
Member

sberyozkin commented Sep 30, 2019

@cescoffier Hi Clement, I've built a quarkus master, and run this demo in the development branch and it works fine in a native mode, after I updated the pom.xml to enable a native profile (actually, I had to disable this test - but it is unrelated to smallrye-jwt, to do with the subresources)

@sberyozkin
Copy link
Member

@cescoffier silly me, I haven't pulled the latest updates :-)

@sberyozkin
Copy link
Member

@cescoffier still works though, PR is coming in a sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants