/hapi-auth-example

An Example Session management application using bell and hapi-auth-cookie

Primary LanguageJavaScript

hapi-auth-example

An Example Session management application using bell and hapi-auth-cookie

Hapi-Auth-Example

This application shows how to use Facebook, Google login in your site which is built using HapiJS and its jewels.

In this repo, we have implemented Facebook and Google login for the webapp using bell and session management is done with hapi-auth-cookie.

Usage


1. Register apps in facebook and Google
2. Enter the clientId and clientSecret at ../plugins/auth/config.js
3. npm install
4. node index.js
5. http://domainname:3000/myprofile

Cheers

Auth Hapily