This is the example app from Auth0 for the express based version readily configured to work with Gitpod and its Local VS Code mode.
Go to your Auth0 dashboard and in the applications section create a "regular web application". You would set the application upo for local development as described here.
Spoecifically you would enter
Allowed Callback URLs:
http://localhost:3000/callback
Allowed Logout URLs
http://localhost:3000
Download and install VS Code on your local machine.
Go to your Gitpod settings and add two environment variables:
AUTH0_CLIENT_ID={copy `Client ID` value from your application}
AUTH0_TENANT_URL=https://{copy `Domain` from your application}
When the web IDE opened, press "F1" and serach for "Open in VS Code".
When you have opened the workspace in VS Code open the ports tab and forward 3000
.
Go to http://localhost:3000