View gist:6521d4edeb507f2d9d95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GoogleSignIn(OAuthSignIn): | |
def __init__(self): | |
super(GoogleSignIn, self).__init__('google') | |
self.service = OAuth2Service( | |
name='google', | |
client_id=self.consumer_id, | |
client_secret=self.consumer_secret, | |
authorize_url='https://accounts.google.com/o/oauth2/auth', | |
access_token_url='https://accounts.google.com/o/oauth2/token', |
View gist:6342543
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Author: Michael R. Johnston | |
* Date: 8/26/13 | |
* Time: 9:34 AM | |
*/ | |
var AWS = require('aws-sdk'); | |
var request = require('request'); | |
// Fill in your info here |