Replies: 1 comment
-
Hi @bjankord, Thanks for your interest in using Auth0 with Cloudflare Workers. I think this would be better suited as a discussion topic rather than an issue, since the current This seems to be better suited for a discussion hence I'm moving this to gauge interest and explore potential solutions. For now, please consider these options for Cloudflare Workers:
Thanks for bringing this up. Looking forward to continuing the conversation in the Discussions section. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you'd like to have solved
I've been working through https://developer.auth0.com/resources/code-samples/spa/vue/basic-authentication and then the https://developer.auth0.com/resources/code-samples/api/express/basic-authorization guides and was hoping I could take the logic used in the Express app example and migrate it over to either a Cloudflare Worker or Pages app.
I was optimistic that might be possible, but knew that most likely, the express-oauth2-jwt-bearer package was not going to work in Cloudflares runtime environment (workerd). Sure enough, soon as I got to that point, I realized it wasn't going to work due to compat issues between Node.js and Cloudflare's Workerd runtimes.
Are there any plans to make a Cloudflare compatible alternative to the express-oauth2-jwt-bearer package or maybe there already is one I haven't found yet. I'm looking for any resources that could help me achieve the equivalent of the https://developer.auth0.com/resources/code-samples/api/express/basic-authorization tutorial except using Cloudflare Workers or Pages.
Describe the ideal solution
The ideal solution, in my opinion, is that Auth0 would provide a Cloudflare based oauth2-jwt-bearer package. That way I could pull in the
auth
function from that package and not have to worry about compat issues from a package that was designed specifically for Node/Express with the express-oauth2-jwt-bearer packageAlternatives and current workarounds
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions