CF&Auth0 tutorial doesn't lead to working code

Hi there,

I followed the tutorial on CF & Auth0 (https://developers.cloudflare.com/workers/tutorials/authorize-users-with-auth0). Since I was unable to make sense of the tutorial itself I used the linked Github content and worked from there. I tried to follow all the steps, e.g. for setting the secrets from my Auth0 account, and I had the impression that all of them worked.

But the resulting Cloudflare Worker does not work: if I enter
https://my-auth-test.live123.workers.dev
in my browser it immediately comes back with
TypeError: Unable to parse URL: dev-zo1b071w.us.auth0.com/authorize?response_type=code&client_id=iafLeljX8ogJ2ATMOKZpAQXWnQsYEDup&redirect_uri=https://my-auth-test.live123.workers.dev/auth&scope=openid%20profile%20email&state=S1cAk1OiR1xpALVImEMjCvEMsu6kF5Qv0muPN3BlVRw%3D

It does not even show the login page.

I have run out of ideas what I might have done wrong. (and thus could try to correct).

Any hints are welcome.

2241550
@MoreHelp

2241550
BTW: my plan ist PRO (since 15 minutes ago or so)

This isn’t something I’ve ever tried doing, but have you checked with the devs at Cloudflare Workers’ Discord server?

Thanks for the hint. I’ll try it.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.