yury.starav
03/14/2023, 2:35 AMfor public_key in public_keys_array
if validate_request(request, public_key) {
return true
}
}
you go through each public key and validate whether the request was signed by this public key. The process will fail only there is no public key to validate the request?cody
03/14/2023, 4:37 AMjwtVerify from the jose library:
https://github.com/panva/jose/blob/main/docs/functions/jwks_remote.createRemoteJWKSet.md#readmeyury.starav
03/14/2023, 5:04 AMcody
03/14/2023, 8:25 PM