234 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
202
views
keycloak jwks_uri inconsistent response
all, thanks in advance for any help. This is a copy of a question I asked at the Keycloak community forum that, unfortunately, got no responses.
Hi, all. Thanks in advance for any help.
I’m setting ...
1
vote
1
answer
88
views
How to parse a RFC7517 JWK Set with JJWT?
I have an OpenID Connect Certificate endpoint returning the following JSON:
{
"keys": [
{
"kid": "key1",
"kty": "RSA",
"...
0
votes
0
answers
93
views
How to replace deprecated `JwksSignature` with `ReactiveJwksSignature` in Micronaut JWT validation?
I'm currently updating a Micronaut application and trying to remove usage of the deprecated io.micronaut.security.token.jwt.signature.jwks.JwksSignature. The official documentation and the source code ...
0
votes
1
answer
186
views
Add KID and ALG in jose JWKS for generated key pair
I've generated a private/public key pair with Jose.generateKeyPair() and I exported the public key with Jose.exportJWK()
But the exported key does not have a KID or ALG property. Is there a way to ...
1
vote
0
answers
232
views
Trying to implement OpenID Connect with Keycloak but I always get "Invalid client" or "Invalid client credentials"
I'm integrating OpenID Connect with Keycloak for client authentication but consistently encounter the error message: "Invalid client" or "Invalid client credentials".
Setup ...
1
vote
0
answers
202
views
Signing ECDSA P256 Sha256 using the ecdsa crate computes faulty signature
So I'm attempting to reproduce the steps in RFC 7515 Section A.3.1 in rust.
I have been struggling to produce the correct R and S values even with a very minimal example that just takes the raw ...
0
votes
1
answer
206
views
Keycloak 21.0.0: Public Key Not Found for Signature Verification Using External JWK API
In Keycloak 21.0.0, an issue occurs during signature verification when consuming an external API that provides JSON Web Keys (JWKs). The system fails to find the expected public key, logging the ...
0
votes
0
answers
323
views
creating / signing a token using a private JWK encoded RSA key
im having problem creating a token using JWK private keys and from this snippet i get a {"error":"OpenSSL unable to validate key"}
when i try the key using packages in js/python i ...
1
vote
0
answers
411
views
How to get access token from Okta?
I've created a Application with API services as a chosen option. I'm trying to get token based on Client Id and Client Secret with the grant_type "client_credentials". But it is asking for ...
0
votes
0
answers
185
views
How to check the validity of a signature using JWKs and the base string the signature was created against
I have a signature (String) that has been generated from a url and some query params. I wanted to know how to validate this signature. I have another url that provides me the public JWKs. I am using ...
3
votes
0
answers
182
views
How to convert JWK to PEM format in Delphi?
I have this RSA public key in JWK format:
{
"kty": "RSA",
"e": "AQAB",
"kid": "55c188a83546fc188e51576ba72836e0600e8b73",
"n&...
3
votes
1
answer
2k
views
How to get JWK(Json Web Key) for my AWS Cognito User Pool?
I am using AWS Cognito for my user management.
When I sign in, I can get AccessToken, RefreshToken, and IdToken from AWS.
The official AWS Documentation says that IdToken contains personal information ...
4
votes
0
answers
5k
views
get_signing_key_from_jwt throws error Unable to find a signing key that matches kid
I'm seeing this error when getting the signing key:
PyJWKClientError: Unable to find a signing key that matches: "{kid}"
The signing_key is where I'm seeing the error:
import jwt
jwks_uri=...
0
votes
1
answer
739
views
How to decrypt JWE has alg ECDH-ES+A256KW use php
I'm updating singpass v3 to v4 using php CI.
API getPersonal return jwe has alg ECDH-ES+A256KW. I copy it jwe to demo project (use js) of singpass it can decrypt. I have the same encryption private ...
-1
votes
1
answer
186
views
How to set key_ops in generating JWK using java script?
I want to generate JWK with parameters using JavaScript. Following is the code I used to generate JWK
var JA = java.util;
var JWKgen = Packages.com.nimbusds.jose.jwk.gen;
var Keys = Packages.com....