Skip to main content

Questions tagged [jwk]

A JSON Web Key is a JSON data structure that represents a cryptographic key.

jwk
0 votes
0 answers
22 views

spring security /.well-known/jwks.json custom filter 401 error

@Autowired private CustomAuthorizationFilter authorizationFilter; @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { return http ...
jiseong's user avatar
1 vote
0 answers
99 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 ...
Yoga Kani's user avatar
0 votes
0 answers
127 views

Is there a way to use python authlib.jose.ec_key library to generate a JWK public and private key pair?

I was looking to sign and verify my JWT token using JWK public and private keys. To generate JWK public and private keys, I will have to use the authlib.jose (Authlib) lib as it is already present in ...
Nagarjun's user avatar
0 votes
0 answers
70 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 ...
Ani512's user avatar
  • 1
3 votes
0 answers
114 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&...
Steve F's user avatar
  • 1,567
1 vote
1 answer
303 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 ...
Shen Wony's user avatar
0 votes
0 answers
1k 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=...
KristiLuna's user avatar
  • 1,855
0 votes
1 answer
298 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 ...
Hoàng Lâm Nguyễn's user avatar
-1 votes
1 answer
85 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....
HTech's user avatar
  • 13
-1 votes
1 answer
618 views

Spring Boot Security Resource Server - how to reload a JWKset on JWT validation failure

Given the following code: @Configuration @EnableWebSecurity class MyCustomSecurityConfiguration { @Bean open fun filterChain(http: HttpSecurity): SecurityFilterChain { http { ...
scre_www's user avatar
  • 2,634
0 votes
1 answer
429 views

Signature verification for JWT issued by Azure

Could you assist us with the next question related to JWT token verification: Recently we started writing functionality for Single Sign On for Microsoft users. We are guided by this documentation ...
apache_borys's user avatar
1 vote
1 answer
404 views

How to get JWK URL for epic fhir resources?

Im using open epic documentation (https://fhir.epic.com/Documentation?docId=oauth2) I'm able to create application But in bottom it asked me upload public key and also add jwk url (which is not ...
sandeepsinghnegi's user avatar
0 votes
0 answers
198 views

Getting System.FormatException: while reading "n" and "e" records from jwk file hosted on a server

I am trying to verify the JWT signature using a JWK file hosted on a server. I have a jwk model in my project Jwk which looks like below: public class Jwk{ [JsonProperty("alg")] ...
rabner casandra's user avatar
0 votes
1 answer
787 views

How to reconstruct an RSA public key from JWK

I am working in a restricted environment and don't have the ability to utilise any third party systems that would make this simple, such as Firebase/php-jwt I have received a JWT I would like to ...
Darren H's user avatar
  • 902
1 vote
1 answer
208 views

HAPROXY jwt_verify() always returns Unknown Certificate (-5)

I am creating an HAProxy instance in a docker container (image: "haproxytech/haproxy-alpine:latest"). This uses haproxy version 2.8 (with OpenSSL installed), so the jwt_verify() function is ...
Richard Cross's user avatar

15 30 50 per page
1
2 3 4 5
16