-
Notifications
You must be signed in to change notification settings - Fork 885
Add clerk jwt debugger #1816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add clerk jwt debugger #1816
Conversation
|
Hey, here’s your docs preview: https://clerk.com/docs/pr/1816 |
|
This PR modifies files in the 'clerk-typedoc/' folder. These files are auto-generated from the clerk/javascript repository and should not be edited directly. To make changes to TypeDoc documentation:
Thanks for contributing! 🙏 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a842073 to
be7e439
Compare
Technically any RS256 JWT but if we wanted to decode any JWT it would take a bit more work to support all the algorithms. So I just wanted to start with "Clerk JWTs" to set the expectation that it will work for sure with Clerk JWTs. Part of this is that I'm not using any 3rd party libraries for the JWT decoding/verification to make sure it's "all Clerk" - so each has to be implemented manually.
Yeah the original design didn't call for the text at all, but I felt it was kinda empty or confusing without it. So I added it in (and copied from the postman section). I can move it up, I don't have any strong opinions on it tbh.
Easy enough. I just used the same box so I'll modify the height for the header.
The default on jwt.io's page is the secret which we don't have here since we're just decoding/verifying via a public key, but we can add some text. The flow is:
|
@SarahSoutoul - I have no idea, I would guess something isn't installed or linked, happy to pair with you when you have a moment to sort it out though! |
|
@alexisintech I also wanted to put something somewhere about "How this works" to clarify for users but I didn't have any good ideas of where/what it should look like. Curious if you had any good ideas or insight into that. |
I think above the "Next steps" section would be fine! |
…s into jeremy/add-clerk-jwt-debugger
|
i feel like this should go at the top! tagging in @SarahSoutoul for her suggestions / opinion |
Yeah should def be at the top! @alexisintech @jeremy-clerk |





Important
🔎 Preview (for some reason bugs out): https://clerk-git-jeremy-add-clerk-jwt-debugger.clerkstage.dev/docs/pr/jeremy-add-clerk-jwt-debugger/guides/development/troubleshooting/jwt-decoder
To preview locally, pull this PR, and the
clerk/clerkPR together to view locally.This PR adds a Clerk JWT debugging tool
Checklist