{"id":18414806,"url":"https://github.com/navdeep-g/flask-googlefed","last_synced_at":"2025-04-07T11:32:53.347Z","repository":{"id":2631228,"uuid":"3618707","full_name":"navdeep-G/flask-googlefed","owner":"navdeep-G","description":"Google Federated Logins for Flask.","archived":false,"fork":false,"pushed_at":"2016-02-04T12:17:58.000Z","size":7,"stargazers_count":75,"open_issues_count":0,"forks_count":12,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-22T17:44:17.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pypi.python.org/pypi/Flask-GoogleFed/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/navdeep-G.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-04T14:42:10.000Z","updated_at":"2024-01-13T23:50:38.000Z","dependencies_parsed_at":"2022-07-21T11:33:05.618Z","dependency_job_id":null,"html_url":"https://github.com/navdeep-G/flask-googlefed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fflask-googlefed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fflask-googlefed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fflask-googlefed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navdeep-G%2Fflask-googlefed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navdeep-G","download_url":"https://codeload.github.com/navdeep-G/flask-googlefed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247645126,"owners_count":20972413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T03:52:24.218Z","updated_at":"2025-04-07T11:32:52.941Z","avatar_url":"https://github.com/navdeep-G.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Google Federated Auth for Flask (and Humans)\n============================================\n\nRequire an account from a given Google Apps domain for your Flask apps.\n\nGreat for internal apps on public-facing servers.\n\n\nUsage\n-----\n\nSetup is super simple::\n\n    from flask import Flask\n    from flask_googlefed import GoogleAuth\n\n    app = Flask(__name__)\n    app.secret_key = 'random secret key'\n    app.config['GOOGLE_DOMAIN'] = 'heroku.com'\n\n    auth = GoogleAuth(app)\n\n    @app.route('/')\n    @auth.required\n    def secret():\n        return 'ssssshhhhh'\n\n\nInstall\n-------\n\nInstallation is equally simple::\n\n    $ pip install flask-googlefed\n\n\nPrerequisites\n-------------\nBe sure that your Google Apps domain is enabled to be an OpenID provider under 'Advanced tools' \u003e 'Federated Login using OpenID'\n\nAlso, create the required federation end points on your domain. `See example \u003chttp://jeremiahlee.com/blog/2009/09/28/how-to-setup-openid-with-google-apps/\u003e`_.\n\nTODO\n----\n\nBe forewarned, there's work to be done:\n\n- ``g.user`` is always ``None``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavdeep-g%2Fflask-googlefed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavdeep-g%2Fflask-googlefed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavdeep-g%2Fflask-googlefed/lists"}