jose4j Questions

5

I want to produce JWTs and sign them with HMAC_SHA256. For that task I must use jose4j. I have tried to generate key based on secret with: SecretKeySpec key = new SecretKeySpec(("secret").getBytes...
Buckthorn asked 14/8, 2015 at 9:6

1

What does "e": "AQAB" mean in JWKS - Json Web Key Set { "keys": [ { "kty": "RSA", #key type "e": "AQAB", #Question - what d...
Dong asked 18/11, 2021 at 15:52

2

Solved

I need to extract claims from a JWT. It seems that this should be a no-brainer. It was signed, from the header I get: { "alg": "RS256", "typ": "JWT" } JWT: eyJhbGciOiJSUzI1NiIsInR5cCI6Ikp...
Gastroscope asked 7/2, 2017 at 16:57

2

Solved

How do I verify a JWT signature for an Azure B2C id token in Java? I have successfully verified signatures with google open-id connect, but I have not been successful verifying signatures for Micro...
Nestling asked 20/3, 2016 at 4:32

2

Solved

My Java application is receiving a JWT. I have the public key in PEM format: -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAixn0CGu8/M4txn4pdp8K m8RQfVa+cHX25/a5sPmzP49u7Yl...
Loraleeloralie asked 2/3, 2016 at 6:22

1

Solved

I receive two JWTs: an OpenID Connect ID token (id_token) and an Access Token (access_token). The situation with OpenID is more or less clear - I can validate it using a JWKS Endpoint: https://smth...
Afterwards asked 26/8, 2015 at 18:13

1

Solved

I am using jose4j to validate and process a JWT. The JWT looks like the following and it passes the validation in the JWT homepage. However, I can't do the same using jose4j java library. The exc...
Cuirass asked 3/8, 2015 at 4:46
1

© 2022 - 2024 — McMap. All rights reserved.