This is a simple example implementation of Oauth 2.0 flow.
Disclaimer: You should never store the tokens without encrypting them nor show them to the customer.
How to run:
- Fill out CLIENT_ID, CLIENT_SECRET
- Change AUTHORIZATION_URL and TOKEN_URL to the ones provided to you
- npm install
- npm run start
- login at http://localhost:3000/auth