{ "info": { "author": "Ragtag", "author_email": "opensource@ragtag.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "# python-social-auth-ragtag-id\n\nAn OAuth2 backend for [python social auth](https://github.com/python-social-auth/social-core).\n\n## Installation\n\n```sh\npipenv install social_auth_ragtag_id\n```\n\n## Django Configuration\n\nFirst, follow the instructions at http://python-social-auth.readthedocs.io/en/latest/configuration/django.html.\n\nThen, add this backed to `AUTHENTICATION_BACKENDS`:\n\n```python\nAUTHENTICATION_BACKENDS = (\n ...\n 'social_auth_ragtag_id.backends.RagtagOAuth2',\n ...\n 'django.contrib.auth.backends.ModelBackend',\n)\n```\n\nFinally, add the client ID and secret:\n\n```python\nSOCIAL_AUTH_RAGTAG_KEY = 'xxxxxxxxxxx'\nSOCIAL_AUTH_RAGTAG_SECRET = 'xxxxxxxxxxx'\n```\n\nThese can be obtained from a member of Ragtag staff.\n\nAssuming the default URL setup from social_core, you can now login at `/login/ragtag/`.\n\nOptionally you may define `SOCIAL_AUTH_RAGTAG_SCOPES` to limit which data your app needs access to. Available scopes can be seen at https://id.ragtag.org/api/scopes/. For example:\n\n```python\nSOCIAL_AUTH_RAGTAG_SCOPES = ['identity', 'email']\n```\n\nAnd you may define `SOCIAL_AUTH_RAGTAG_APPROVAL_PROMPT` as `force` to force the approval screen to appear every time the user signs in.\n\n```python\nSOCIAL_AUTH_RAGTAG_APPROVAL_PROMPT = 'force'\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/RagtagOpen/python-social-auth-ragtag-id", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "social-auth-ragtag-id", "package_url": "https://pypi.org/project/social-auth-ragtag-id/", "platform": "", "project_url": "https://pypi.org/project/social-auth-ragtag-id/", "project_urls": { "Bug Reports": "https://github.com/RagtagOpen/python-social-auth-ragtag-id/issues", "Homepage": "https://github.com/RagtagOpen/python-social-auth-ragtag-id", "Source": "https://github.com/RagtagOpen/python-social-auth-ragtag-id" }, "release_url": "https://pypi.org/project/social-auth-ragtag-id/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "An OAuth2 backend for social-auth-core", "version": "1.0.3" }, "last_serial": 5881841, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "690b2a2a063da3017f4977c937b2ca58", "sha256": "718411e7183b6b090f82e3b7df78aaac33578607457824aa823e70dfb321b4d6" }, "downloads": -1, "filename": "social_auth_ragtag_id-1.0.0.tar.gz", "has_sig": false, "md5_digest": "690b2a2a063da3017f4977c937b2ca58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2196, "upload_time": "2018-04-24T21:03:43", "url": "https://files.pythonhosted.org/packages/58/ce/f3ddb25b89a3b64934dc898ad5af9fa07f83065d8f3ac7042102ccacedc3/social_auth_ragtag_id-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d04193d6184522e8ce1052c5c40e5292", "sha256": "755706c4d70e3d1d3bfec2050d76cdb3bdd9d1ba1592970d29d5b3fff14b9fb6" }, "downloads": -1, "filename": "social_auth_ragtag_id-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d04193d6184522e8ce1052c5c40e5292", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2302, "upload_time": "2018-04-24T21:06:14", "url": "https://files.pythonhosted.org/packages/ef/38/48f3cc964c68a653368800c8a766bf2a3e1e51e3e70076e67e477b2b5b2f/social_auth_ragtag_id-1.0.1.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "60ae258822f8b863a818c34aefee07c5", "sha256": "19c5ec716a1f74ed50fa2badca7d008a738057cf9a9065ab0886f0f2cfc08ca8" }, "downloads": -1, "filename": "social_auth_ragtag_id-1.0.3.tar.gz", "has_sig": false, "md5_digest": "60ae258822f8b863a818c34aefee07c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2479, "upload_time": "2019-09-24T21:06:09", "url": "https://files.pythonhosted.org/packages/0b/1a/d8167d8284b8b490147d0e9c7805800cf6fb45726d3a6cf5d1eb4641b46e/social_auth_ragtag_id-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60ae258822f8b863a818c34aefee07c5", "sha256": "19c5ec716a1f74ed50fa2badca7d008a738057cf9a9065ab0886f0f2cfc08ca8" }, "downloads": -1, "filename": "social_auth_ragtag_id-1.0.3.tar.gz", "has_sig": false, "md5_digest": "60ae258822f8b863a818c34aefee07c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2479, "upload_time": "2019-09-24T21:06:09", "url": "https://files.pythonhosted.org/packages/0b/1a/d8167d8284b8b490147d0e9c7805800cf6fb45726d3a6cf5d1eb4641b46e/social_auth_ragtag_id-1.0.3.tar.gz" } ] }