heron2014 / hapi-auth-google-real-world-example

Basic authenctication example using Google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real world authentication example using Google

Build Status

A functional example Hapi.js app demonstrating hapi-auth-google authentication using Redis with tests!

Run it Yourself!

Clone this repo so you can play with it locally:

git clone git@github.com:heron2014/hapi-auth-google-real-world-example.git && cd hapi-auth-google-real-world-example

Install the NPM dependencies:

npm install

Environment Variables

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

Rest of the steps are coming very soon!

About

Basic authenctication example using Google


Languages

Language:JavaScript 92.7%Language:HTML 7.3%