A functional example Hapi.js app demonstrating hapi-auth-google authentication using Redis with tests!
Clone this repo so you can play with it locally:
git clone [email protected]:heron2014/hapi-auth-google-real-world-example.git && cd hapi-auth-google-real-world-example
npm install
To run this example you will need to set an environment variable for your CLIENT_ID, CLIENT_SECRET from your app on Google Developer Console and (Server TCP) PORT.
CLIENT_ID=YourAppsClientId.apps.googleusercontent.com
CLIENT_SECRET=SuperSecret
If you don't know how to create an app on Google Developer Console, check this detailed tutorial how to do it GOOGLE-APP-STEP-BY-STEP-GUIDE