Skip to content

gitpod-io/auth0-express-webapp-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth0 example app for Node.js and Gitpod

This is the example app from Auth0 for the express based version readily configured to work with Gitpod and its Local VS Code mode.

Step 1

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

Step 2

Download and install VS Code on your local machine.

Step 3

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}

Step 3

Open in Gitpod

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.

Screenshot 2021-09-17 at 13 39 39

Go to http://localhost:3000

About

Auth0 Integration Samples for an Express web application

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • EJS 66.5%
  • JavaScript 32.1%
  • Shell 1.4%