Is the /v2/keys endpoint compatible with libraries...
# ask-a-descoper
a
Is the /v2/keys endpoint compatible with libraries expecting JKS key endpoints?
s
do you mean JWKS ?
a
yes
s
a
I have descope working with my UI to complete the login. My current task is token verification on the server (in a language without the descope SDK). So I am trying to use a JWT library that can get key data from JWKS, or to configure this library to use the key data returned from descope.
I will see if the doc has anything about JWT key verification.
The URL configured in that for "well known" JWKS URI returns the same result as the /v2/keys URL so it looks like it is JWKS compatible.
s
yes,
Copy code
<https://api.descope.com/{project> id}/.well-known/jwks.json
should work
Looping in @salmon-night-88354 in case you need more help on this
👍 1
a
If that is valid, then my problem is probably configuring the library. It reports "No strategy provided" which is probably something I need to do, unless this sounds like a JWKS thing.
s
@acceptable-airport-27193 you updated it with your project ID? It loads successfully when you go to it within a web browser? Which library are you using? I can test as well.