skip to navigation
skip to content

Flask-GoogleFed 0.1

Google Federated Logins for Flask.

Require an account from a given Google Apps domain for your Flask apps.

Great for internal apps on public-facing servers.


Setup is super simple:

from flask import Flask
from flask_googlefed import GoogleAuth

app = Flask(__name__)
app.config['GOOGLE_DOMAIN'] = ''
app.config['SECRET_KEY'] = 'ssssshhhhh'

auth = GoogleAuth(app)

def secret():
    return 'ssssshhhhh'



$ pip install flask-googlefed


Be forewarned, there’s work to be done:

  • g.user is always None
  • More generic Google auth would be nice.
File Type Py Version Uploaded on Size
Flask-GoogleFed-0.1.tar.gz (md5) Source 2012-03-04 3KB