Sample Express OAuth 2 integration
This project demonstrates how to implement server-side OAuth 2.0 on top of Express.
Running the project:
- Clone this repository
- Ensure MongoDB is running
- Navigate to the projects folder
- Install all modules by entering
npm install
- Install eslint and the Google JS styleguide by running
npm install -D eslint eslint-config-google
- Start the server by typing
npm start
- Navigate to
http://localhost:3000
to retrieve client credentials - Request an Authorization Code
- Retrieve an Access Token by providing the Authorization Code obtained in step 8