mock-jwks | auth0 authentication service for development | Authentication library
kandi X-RAY | mock-jwks Summary
kandi X-RAY | mock-jwks Summary
A tool to mock the auth0 authentication service for development of microservices CONSUMING auth0 jwts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mock-jwks
mock-jwks Key Features
mock-jwks Examples and Code Snippets
Community Discussions
Trending Discussions on mock-jwks
QUESTION
I tried searching for an answer to this question and didn't find anything. So, I'm asking and answering.
I'm trying to implement a JWKS endpoint. I found some example code here. Note that the author's intent for that repo is testing only. He is clear that he doesn't know enough about crypto to know if it's actually secure.
In the example, the private key is used to generate the modulus and exponent:
...ANSWER
Answered 2019-Aug-08 at 06:02TL;DR: You should be using the public modulus and exponent
I tried using the public key to generate the modulus and exponent, used them in the JWKS endpoint, and it worked; it verified JWTs. This is what it looks like to generate the modulus and exponent using the public key:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mock-jwks
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page