Skip to content

Nodejs implementation of Auth0 machine-to-machine authentication

Notifications You must be signed in to change notification settings

dadonk-com/auth0-machine-to-machine-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Auth0 - machine-to-machine demo

Update the values in /client_service/.env and /resource_service/.env

cd client_service
npm i
npm run start

cd ../resource_service
npm i
npm run start

http://localhost:3000

Test auth

If you hit the url above you should get "You are authenticated".

If you comment out the "Authorization" header in the client you should get "Unauthorized".

About

Nodejs implementation of Auth0 machine-to-machine authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published