serg-io / credential-management-sample

Credential Management Sample

Home Page:https://g.co/CredentialManagementAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Credential Management API Sample

Installation

Prerequisites

  • Google App Engine
  • Python 2.7
  • pip
  • Node.js
  • NPM
  • Bower

Step 1. Configure Google Sign-In

  • Set up a new project at Google Developers Console
  • Create credentials
  • Download client_secret_****.json, rename it to client_secrets.json
  • Place client_secrets.json at root of this project

Step 2. Configure Facebook Login

  • Set up a new project at Facebook Developers
  • Set "Site URL" http://localhost:8080
  • Copy and paste the App ID in app.yaml.

Step 3. Install dependencies

# Create virtual env
$ virtualenv env
$ source env/bin/activate
# Clone submodules
$ git submodule init
$ git submodule update
# This command will install dependencies
$ npm install
$ npm run build

Step 4. Run the app

# Launch App Engine at root dir of this project with following command
$ npm start

About

Credential Management Sample

https://g.co/CredentialManagementAPI

License:Apache License 2.0


Languages

Language:HTML 97.3%Language:JavaScript 1.7%Language:Python 1.0%