Example code for using Google O-auth 2.0 in Pyramid
This example code creates a Pyramid application allowing log in via Google O-auth 2.0.
Register an application at https://console.developers.google.com
- Make sure to enable Google+ API
Save Google O-auth credential as client_secret.json
Run main.py to verify everything is working!
Credits: Starter code was taken from http://authomatic.github.io/authomatic/examples/pyramid-simple.html