{ "info": { "author": "Rapha\u00ebl Titsworth-Morin", "author_email": "raphael@ephemerecreative.ca", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=======================\nAuth0Backend For Django\n=======================\n\nSource_\n\n*USE AT YOUR OWN RISK. API WILL LIKELY KEEP CHANGING FOR NOW.*\n\nExperimental application to manage code and jwt auth from Auth0 with Django.\n\nIf you're using the JWT mechanism, you'll need to include the `openid email` scopes to get the email_verified claim.\n\nThis app provides a custom user model which is required for use with the app (see step 2 of setup).\n\nSetup\n-----\n\n1. Add to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'ECAuth0Backend',\n ]\n\n2. Set django to use the ECAuth0Backend user model::\n\n AUTH_USER_MODEL = 'ECAuth0Backend.A0User'\n\n3. Include the URLconf in your project urls.py like this::\n\n import ECAuth0Backend.urls\n\n urlpatterns = [\n # your urls\n ] + ECAuth0Backend.urls.urlpatterns\n\n4. Run `python manage.py migrate` to create the user model.\n\n5. Add the required configuration to your settings.py (you can look through ECAuth0Backend.settings.py for more settings)::\n\n AUTH0_DOMAIN = '' # Your auth0 domain\n\n AUTH0_CODE_CLIENT_ID = '' # Your auth0 client ID for code auth\n AUTH0_CODE_CLIENT_SECRET = '' # Your auth0 client secret for code auth\n AUTH0_CODE_CALLBACK_PATH = '' # Callback url you want auth0 to send the client back to (url pattern defined below)\n\n AUTH0_JWT_SECRET = '' # auth0 client secret for jwt client\n AUTH0_JWT_CLIENT_ID = '' # auth0 client id for jwt client\n\n6. Add the authentication backend::\n\n AUTHENTICATION_BACKENDS = [\n 'ECAuth0Backend.backend.Auth0Backend',\n 'django.contrib.auth.backends.ModelBackend',\n ]\n\n7. For JWT with DRF use ECAuth0Backend.jwt.Auth0JWTAuthentication as an authentication class\n\n.. _Source: https://bitbucket.org/ephemerecreative/django-auth0-backend", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://ephemerecreative.ca", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "ECAuth0Backend", "package_url": "https://pypi.org/project/ECAuth0Backend/", "platform": "", "project_url": "https://pypi.org/project/ECAuth0Backend/", "project_urls": { "Homepage": "https://ephemerecreative.ca" }, "release_url": "https://pypi.org/project/ECAuth0Backend/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Django app to authenticate with code or JWT for DjangoRestFramework", "version": "0.2.2" }, "last_serial": 3682587, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "10c2066561ca73b7d57bee9d97cf1198", "sha256": "3d107b911c1c005ecbc4d109465b2a350be0413cd23e0278f191c84275aea715" }, "downloads": -1, "filename": "ECAuth0Backend-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "10c2066561ca73b7d57bee9d97cf1198", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9002, "upload_time": "2018-02-11T23:44:18", "url": "https://files.pythonhosted.org/packages/b0/a8/e8eca63e4b4b9a3eeccf5383a2c9e50178403fa98dc1fe04d55206d3539a/ECAuth0Backend-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b9bea5f06e8658e708a553bbb298e75", "sha256": "cef2f1a6362395589bf2f4363da3e2c506d5ab60038b3333e3a27a456b41fad7" }, "downloads": -1, "filename": "ECAuth0Backend-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9b9bea5f06e8658e708a553bbb298e75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5462, "upload_time": "2018-03-15T06:12:29", "url": "https://files.pythonhosted.org/packages/f6/80/c6732ca964d9234af9d708b56ef5992a0f3228acdd94abfc34a3db48e571/ECAuth0Backend-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5f3a075b603ec9c4bb80cd6c5b72c944", "sha256": "846f2b1cc78182603ccb42132538cd449f5bf8eddec971006d0cdcf5e224ba81" }, "downloads": -1, "filename": "ECAuth0Backend-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5f3a075b603ec9c4bb80cd6c5b72c944", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9025, "upload_time": "2018-02-11T23:46:03", "url": "https://files.pythonhosted.org/packages/f7/39/b62b983e8beed4e7db777ecdbeeef4007bfa2d4bb440f0b93fec1cdd23fe/ECAuth0Backend-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b3b8b39ab3736f5e45756d3b3c385a2c", "sha256": "a3a54a74659aff867bbc523619654f7686fffbbda95abc1664fb4b9669dd5fde" }, "downloads": -1, "filename": "ECAuth0Backend-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b3b8b39ab3736f5e45756d3b3c385a2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5538, "upload_time": "2018-02-11T23:46:04", "url": "https://files.pythonhosted.org/packages/87/b1/87c297306b78d1bbe405f940c8e12feba334b6508d518ffb61fb90650532/ECAuth0Backend-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "fc31422835167ea97594b3d9b811b6f2", "sha256": "a84ea5fa18627a5ceb407194ec97014120ec564e945a421fb20372e171ed250d" }, "downloads": -1, "filename": "ECAuth0Backend-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fc31422835167ea97594b3d9b811b6f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5458, "upload_time": "2018-03-15T06:13:58", "url": "https://files.pythonhosted.org/packages/92/21/d6a33645140602c1713f9789fc11899af455451736159ebd3441b4928ebb/ECAuth0Backend-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d782f895f7230a3ec35ecff0694bd766", "sha256": "041f9c6fd0e147afb24fdf7301c369d27a5e5260ec734683af4e165337570ae5" }, "downloads": -1, "filename": "ECAuth0Backend-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d782f895f7230a3ec35ecff0694bd766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8117, "upload_time": "2018-03-19T02:01:57", "url": "https://files.pythonhosted.org/packages/3e/56/aa4c4c77a83130f28fb165a69c7f0070466c58d94c120f1a45ad8fe01ef2/ECAuth0Backend-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d214ae96f12d02ce681d1632f212431c", "sha256": "ffb696bc17ff607226a39e2d210d1aa49edfb92357e57ac88c78599617351976" }, "downloads": -1, "filename": "ECAuth0Backend-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d214ae96f12d02ce681d1632f212431c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9079, "upload_time": "2018-03-19T03:01:25", "url": "https://files.pythonhosted.org/packages/e0/40/a490a8712bff42eb211c21af79239d654f73e0cb9fb6f1d041724c8ea712/ECAuth0Backend-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "99190f9c7526431fdcbdcac08880a216", "sha256": "f71ae11ce55c49a237ab243e5283d563ac190f1c58ed076340bdb59935c6e8a9" }, "downloads": -1, "filename": "ECAuth0Backend-0.2.2.tar.gz", "has_sig": false, "md5_digest": "99190f9c7526431fdcbdcac08880a216", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9115, "upload_time": "2018-03-19T04:08:00", "url": "https://files.pythonhosted.org/packages/1c/78/791345bc6f3f13e8ff95fbb39e55afc156de1b543b670651988edf50ff1e/ECAuth0Backend-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99190f9c7526431fdcbdcac08880a216", "sha256": "f71ae11ce55c49a237ab243e5283d563ac190f1c58ed076340bdb59935c6e8a9" }, "downloads": -1, "filename": "ECAuth0Backend-0.2.2.tar.gz", "has_sig": false, "md5_digest": "99190f9c7526431fdcbdcac08880a216", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9115, "upload_time": "2018-03-19T04:08:00", "url": "https://files.pythonhosted.org/packages/1c/78/791345bc6f3f13e8ff95fbb39e55afc156de1b543b670651988edf50ff1e/ECAuth0Backend-0.2.2.tar.gz" } ] }