This release is a pre-release and may not be stable for production use.
=================================================
[Python-AppEngine-Auth](https://github.com/mback2k/python-appengine-auth) is an
extension to [Python-Social-Auth](https://github.com/omab/python-social-auth)
which adds a OAuth backend for Google App Engine based Google Accounts.
This application makes use of the
[Google App Engine OAuth Profile endpoint application](https://github.com/mback2k/appengine-oauth-profile)
which is by default hosted at https://oauth-profile.appspot.com/
Dependencies
------------
- python-social-auth [https://github.com/omab/python-social-auth]
- oauthlib [https://github.com/idan/oauthlib/]
Installation
------------
Install the latest version from pypi.python.org:
pip install python-appengine-auth
Install the development version by cloning the source from github.com:
pip install git+https://github.com/mback2k/python-appengine-auth.git
Configuration
-------------
Add the package to your `INSTALLED_APPS`:
INSTALLED_APPS += (
'social.apps.django_app.default',
'social_appengine_auth',
)
Add the desired backends to your `AUTHENTICATION BACKENDS`:
AUTHENTICATION_BACKENDS += (
'social_appengine_auth.backends.GoogleAppEngineOAuth',
'social_appengine_auth.backends.GoogleAppEngineOAuth2',
)
Add the pipeline to your `SOCIAL_AUTH_PIPELINE`:
SOCIAL_AUTH_PIPELINE = (
'social.pipeline.social_auth.social_details',
'social.pipeline.social_auth.social_uid',
'social.pipeline.social_auth.auth_allowed',
'social.pipeline.social_auth.social_user',
'social.pipeline.user.get_username',
# Add the following custom pipeline:
'social_appengine_auth.pipelines.associate_by_user_id',
# 'social.pipeline.mail.mail_validation',
# 'social.pipeline.social_auth.associate_by_email',
'social.pipeline.user.create_user',
'social.pipeline.social_auth.associate_user',
'social.pipeline.social_auth.load_extra_data',
'social.pipeline.user.user_details',
)
Additional Settings
-------------------
Add some or all of the following settings to your `settings.py`:
# Hostname of the OAuth and Web Service endpoint
SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH_SERVER = 'oauth-profile.appspot.com'
# Use static and unique Google App Engine user's user_id as identifier
# Defaults to False which makes it use the user's email address
GOOGLE_APPENGINE_OAUTH_USE_UNIQUE_USER_ID = True
# Setup Google OAuth 1.0 consumer key and secret
SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH_KEY = ''
SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH_KEY = ''
# or Setup Google OAuth 2.0 client id and secret
SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH2_KEY = ''
SOCIAL_AUTH_GOOGLE_APPENGINE_OAUTH2_SECRET = ''
Please refer to the [Python-Social-Auth](http://psa.matiasaguirre.net/)
documentation for additional information.
License
-------
* Released under MIT License
* Copyright (c) 2012-2015 Marc Hoersken <info@marc-hoersken.de>
Metadata
Release files for python-appengine-auth 0.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-appengine-auth-0.1.dev0.tar.gz | 3.5 kB | Without provenance | Details for python-appengine-auth-0.1.dev0.tar.gz |
Release files / python-appengine-auth-0.1.dev0.tar.gz
| Download URL | python-appengine-auth-0.1.dev0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2746c8aba82e91733fd5207a35648a1e9fd39a6648c0615b526f890e56f6320
|
|
BLAKE2b-256 checksum How to use checksums |
895db9de535ff995f1f56b8107f57683dcb71a71ddf805e41d7a5c5f90374aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-appengine-auth 0.1.dev0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.