Is there any efficient way to implement Authorization in Cloudflare Workers?

Hi, I'm using CF Pages to build a web page which uses JWT to authorize users. I'm implementing the authorizer in Svelte by using a hook which calls an authorizer CF Workers to verify the JWT tokens to save the CPU time. Is there any cleaner/more transparent solution, like Custom Authorizer in AWS REST API Gateway? In additional, I'm using ES256 algorithm to sign the JWT.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server