GoogleChromeLabs / Google Sign In
Licence: apache-2.0
Google Sign-In for Websites sample code.
Stars: ✭ 89
Programming Languages
javascript
184084 projects - #8 most used programming language
Google Sign-In for Websites sample code
This sample code assumes you watch "Google Sign-In for Websites" videos.
Each videos have related section in this code example
- Introduction to Google Sign-In for Websites
-
Google Sign-In for Websites: Authentication with backends
-
main.py
- "/"
- "/validate"
- static/scripts/authentication_with_backends.js
-
main.py
-
Google Sign-In for Websites: Authorization
- Making API requests from client side
- Making API requests from server side
-
main.py
- "/"
- "/api"
- "/validate"
- "/code"
- static/scripts/authorization_server.js
-
main.py
Installation
Prerequisite
- Google App Engine
- Python 2.7
- pip
- Node.js
- Bower
Configure
- Set up a new project at Google Developers Console
- Create credentials
- Download
client_secret_****.json
, rename it toclient_secrets.json
- Place
client_secrets.json
at root of this project
Build
# Install Python dependencies
$ pip install -t lib -r requirements.txt
# Install front-end dependencies
$ bower install
Run
# Launch App Engine at root dir of this project with following command
$ dev_appserver.py .
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].