A barebones starter application for Auth0 and the topcoder API. Provides login functionality, security and viewing user info.
Talk to the platform team about getting your callback URL setup.
From the command line type in:
git clone [email protected]:topcoderinc/tc-auth0-node-starter.git
cd tc-auth0-node-starter
npm install
- Open terminal and change directory to tc-auth0-node-starter root
- Export the following variables to your environment from Auth0.
export AUTH0_DOMAIN=YOUR-AUTH0-NAMESPACE
export AUTH0_CLIENT_ID=YOUR-AUTH0-CLIENT-ID
export AUTH0_CLIENT_SECRET=YOUR-AUTH0-CLIENT-SECRET
export AUTH0_CALLBACK_URL=http://localhost:8000/callback
export AUTH0_SCOPE='openid'
- Start the server with
node app.js
- Point your browser to: http://localhost:8000
- Jeff Douglas -> jeffdonthemic