Skip to content

Conversation

@bondz
Copy link
Contributor

@bondz bondz commented Oct 28, 2024

This switches the verification from using jsonwebtoken and other libraries to using Jose. The verification step is simpler and the keys are automatically selected. Also removes the dependence on cookies. jose has zero dependencies and supports CF Workers.

Summary

Updating the Javascript example of the docs to validate JWT.

Documentation checklist

This switches the verification from using jsonwebtoken and other libraries to using Jose. The verification step is simpler and the keys are automatically selected.
Copy link
Contributor

@jroyal jroyal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ranbel ranbel enabled auto-merge (squash) November 1, 2024 15:26
@ranbel ranbel merged commit a53fe8d into cloudflare:production Nov 1, 2024
8 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Nov 1, 2024
@holopin-bot
Copy link

holopin-bot bot commented Nov 1, 2024

Congratulations @bondz, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm2ywcaa237050cl1zhc0f0nl

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

elithrar pushed a commit that referenced this pull request Nov 6, 2024
This switches the verification from using jsonwebtoken and other libraries to using Jose. The verification step is simpler and the keys are automatically selected.
harshil1712 pushed a commit that referenced this pull request Dec 3, 2024
This switches the verification from using jsonwebtoken and other libraries to using Jose. The verification step is simpler and the keys are automatically selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:cloudflare-one size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants