You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 package
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: