{ "info": { "author": "Marc Hoersken", "author_email": "info@marc-hoersken.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Remote Google App Engine OAuth backend for Django\n=================================================\n\n[Python-AppEngine-Auth](https://github.com/mback2k/python-appengine-auth) is an\nextension to [Python-Social-Auth](https://github.com/omab/python-social-auth)\nwhich adds a OAuth backend for Google App Engine based Google Accounts.\n\nThis application makes use of the\n[Google App Engine OAuth Profile endpoint application](https://github.com/mback2k/appengine-oauth-profile)\nwhich is by default hosted at https://oauth-profile.appspot.com/\n\nDependencies\n------------\n- python-social-auth [https://github.com/omab/python-social-auth]\n- oauthlib [https://github.com/idan/oauthlib/]\n\nInstallation\n------------\nInstall the latest version from pypi.python.org:\n\n pip install python-appengine-auth\n\nInstall the development version by cloning the source from github.com:\n\n pip install git+https://github.com/mback2k/python-appengine-auth.git\n\nConfiguration\n-------------\nAdd the package to your `INSTALLED_APPS`:\n\n INSTALLED_APPS += (\n 'social.apps.django_app.default',\n 'social_appengine_auth',\n )\n\nAdd the desired backends to your `AUTHENTICATION BACKENDS`:\n\n AUTHENTICATION_BACKENDS += (\n 'social_appengine_auth.backends.GoogleAppEngineOAuth',\n 'social_appengine_auth.backends.GoogleAppEngineOAuth2',\n )\n\nAdd the pipeline to your `SOCIAL_AUTH_PIPELINE`:\n\n SOCIAL_AUTH_PIPELINE = (\n 'social.pipeline.social_auth.social_details',\n 'social.pipeline.social_auth.social_uid',\n 'social.pipeline.social_auth.auth_allowed',\n 'social.pipeline.social_auth.social_user',\n 'social.pipeline.user.get_username',\n # Add the following custom pipeline:\n 'social_appengine_auth.pipelines.associate_by_user_id',\n # 'social.pipeline.mail.mail_validation',\n # 'social.pipeline.social_auth.associate_by_email',\n 'social.pipeline.user.create_user',\n 'social.pipeline.social_auth.associate_user',\n 'social.pipeline.social_auth.load_extra_data',\n 'social.pipeline.user.user_details',\n )\n\nAdditional Settings\n-------------------\nAdd some or all of the following settings to your `settings.py`:\n\n # Hostname of the OAuth and Web Service endpoint\n SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH_SERVER = 'oauth-profile.appspot.com'\n\n # Use static and unique Google App Engine user's user_id as identifier\n # Defaults to False which makes it use the user's email address\n GOOGLE_APPENGINE_OAUTH_USE_UNIQUE_USER_ID = True\n\n # Setup Google OAuth 1.0 consumer key and secret\n SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH_KEY = ''\n SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH_KEY = ''\n\n # or Setup Google OAuth 2.0 client id and secret\n SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH2_KEY = ''\n SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH2_SECRET = ''\n\nPlease refer to the [Python-Social-Auth](http://psa.matiasaguirre.net/)\ndocumentation for additional information.\n\nLicense\n-------\n* Released under MIT License\n* Copyright (c) 2012-2015 Marc Hoersken ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mback2k/python-appengine-auth", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "python-appengine-auth", "package_url": "https://pypi.org/project/python-appengine-auth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-appengine-auth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mback2k/python-appengine-auth" }, "release_url": "https://pypi.org/project/python-appengine-auth/0.1.dev0/", "requires_dist": null, "requires_python": null, "summary": "python-appengine-auth is an extension to python-social-auth with a backend for the Google App Engine OAuth endpoint", "version": "0.1.dev0" }, "last_serial": 1848134, "releases": { "0.1.dev0": [ { "comment_text": "", "digests": { "md5": "288a584ae109b08ca6bdc1b5ca506927", "sha256": "c2746c8aba82e91733fd5207a35648a1e9fd39a6648c0615b526f890e56f6320" }, "downloads": -1, "filename": "python-appengine-auth-0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "288a584ae109b08ca6bdc1b5ca506927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3502, "upload_time": "2015-12-05T21:51:50", "url": "https://files.pythonhosted.org/packages/89/5d/b9de535ff995f1f56b8107f57683dcb71a71ddf805e41d7a5c5f90374aeb/python-appengine-auth-0.1.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "288a584ae109b08ca6bdc1b5ca506927", "sha256": "c2746c8aba82e91733fd5207a35648a1e9fd39a6648c0615b526f890e56f6320" }, "downloads": -1, "filename": "python-appengine-auth-0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "288a584ae109b08ca6bdc1b5ca506927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3502, "upload_time": "2015-12-05T21:51:50", "url": "https://files.pythonhosted.org/packages/89/5d/b9de535ff995f1f56b8107f57683dcb71a71ddf805e41d7a5c5f90374aeb/python-appengine-auth-0.1.dev0.tar.gz" } ] }