Skip to content

ebokov/sample-app-authorization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started Using NodeJS

create .env file in the app directory, with the following properties:

OAUTH2_CLIENT_ID=cVst-hietkse9uNr3fdvMnVFh-IOxmC2
OAUTH2_CLIENT_SECRET=************
OAUTH2_CALLBACK_URL=http://localhost:3000/callback
OAUTH2_AUTHORIZATION_URL=https://login-poc.auth0.com/authorize
OAUTH2_TOKEN_URL=https://login-poc.auth0.com/oauth/token

run:

npm i
npm start

Getting Started Using Docker

Using the same .env file, run:

docker run --rm -it --env-file .env -p 3000:3000 lpinc/sample-app-auth

About

Sample App Authorization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.6%
  • HTML 13.9%
  • Dockerfile 1.7%
  • CSS 0.8%