Flask Googlefed

Google Federated Logins for Flask.
Alternatives To Flask Googlefed
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Gae Boilerplate688
6 months ago43otherPython
Google App Engine Boilerplate
Gae Init536
5 months ago61mitPython
Google App Engine based on Python, Flask, RESTful, Bootstrap and tons of other cool features
Rele192225 days ago27November 15, 202223apache-2.0Python
Easy to use Google Pub/Sub
Tinygoogle182
4 months agomitPython
A search web app built by Flask and Google CSE
Flask Engine181
10 years ago2Python
A Flask skeleton for Google App Engine, using html5 boilerplate templating.
Pixic119
2 months ago3mitPython
Pixiv插画批量下载,提供关注画师插画、收藏作品下载(单/多/动图)及API - pixiv爬虫
Flask Gae Skeleton118
12 years ago2Python
Flask skeleton for Google App Engine
Systematically_self Study_python112
7 years ago1gpl-3.0
记录个人自学Python的过程,持续更新。
Github Stats81
4 years ago5mitPython
:star2: GitHub Stats is all about stars, forks, repos, followers and more
Flask Firebase79
4 years ago4Python
Google Firebase integration for Flask
Alternatives To Flask Googlefed
Select To Compare


Alternative Project Comparisons
Readme

Google Federated Auth for Flask (and Humans)

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

Great for internal apps on public-facing servers.

Usage

Setup is super simple:

from flask import Flask
from flask_googlefed import GoogleAuth

app = Flask(__name__)
app.secret_key = 'random secret key'
app.config['GOOGLE_DOMAIN'] = 'heroku.com'

auth = GoogleAuth(app)

@app.route('/')
@auth.required
def secret():
    return 'ssssshhhhh'

Install

Installation is equally simple:

$ pip install flask-googlefed

Prerequisites

Be sure that your Google Apps domain is enabled to be an OpenID provider under 'Advanced tools' > 'Federated Login using OpenID'

Also, create the required federation end points on your domain. See example.

TODO

Be forewarned, there's work to be done:

  • g.user is always None
Popular Flask Projects
Popular Google Projects
Popular Frameworks Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Google
Flask
Openid
Federation