Any advice accessing services with an AWS VPC? #600
Answered
by
BioSurienDG
BioSurienDG
asked this question in
Q&A
-
Currently if I do jose.createRemoteJWKSet(new URL(`${BaseURL}/oidc/jwks`) it fails when used with the If I use const result = await fetch(new URL(`${BaseURL}/oidc/jwks`))
.then((res) => {
if (res.ok) {
return res.json();
}
throw new Error(`Failed to fetch JWKS: ${res.statusText}`);
})
.catch((err) => {
throw new Error(`Failed to fetch JWKS: ${err.message}`);
}); |
Beta Was this translation helpful? Give feedback.
Answered by
BioSurienDG
Nov 1, 2023
Replies: 1 comment 6 replies
-
Assuming your |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@panva Thanks for your help. Seems like we just had to add the
UserAgent
header -fetch
adds a default one implicitly