{ "info": { "author": "akshay_codemonk", "author_email": "akshay@codemonk.in", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# fyle-django-allauth\n\nFyle OAuth 2.0 provider for django-allauth, lets you associate Fyle accounts with your User accounts.\n\n\n## Dependencies\nInstall [django-allauth](https://django-allauth.readthedocs.io/en/latest/installation.html) and configure it.\n\n\n\n## Quick start\n\n1. Install fyle-django-allauth\n\n ```\n pip install fyle-django-allauth\n ```\n\n2. Include 'fyle_allauth' in the INSTALLED_APPS section of settings.py :\n ```\n INSTALLED_APPS = (\n ...\n 'django.contrib.sites',\n\n 'allauth',\n 'allauth.account',\n 'allauth.socialaccount',\n 'fyle_allauth' # new \n ```\n\n4. Fyle App registration (get your client_id and client_secret here)\n 1. Login to [Fyle](https://app.fyle.in)\n 2. Goto settings and click on Developers\n 3. Click on create new app, enter the details and select type as OAuth 2.0\n 4. For Redirect URI enter \n 1. 'http://localhost:8000/accounts/fyle/login/callback/' for development\n 2. 'https://your_domain/accounts/fyle/login/callback/' for production\n 5. Note down the client_secret and client_id\n\n5. Open django-admin and create a new record under Social Applications\n Select Fyle as provider and enter the above noted client_secret and client_id.\n\n Final step is to add our site to the Chosen sites on the bottom.\n\n\n6. Visit http://localhost:8000/accounts/fyle/login to login using your Fyle account.\n\n\n7. If using a custom user model then add the below lines to settings.py\n```\n# For custom user model that has email as the user identifying field\nACCOUNT_USER_MODEL_USERNAME_FIELD = None\nACCOUNT_USERNAME_REQUIRED = False\nACCOUNT_EMAIL_REQUIRED = True\nACCOUNT_AUTHENTICATION_METHOD = 'email'\n\n# Disable verification mail [optional]\nACCOUNT_EMAIL_VERIFICATION = 'none' \n``` \nFor more info on customisation refer the django-allauth [documentation](https://django-allauth.readthedocs.io/en/latest/advanced.html#custom-user-models)\n\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/fylein/fyle-django-allauth", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "fyle-django-allauth", "package_url": "https://pypi.org/project/fyle-django-allauth/", "platform": "", "project_url": "https://pypi.org/project/fyle-django-allauth/", "project_urls": { "Homepage": "https://github.com/fylein/fyle-django-allauth" }, "release_url": "https://pypi.org/project/fyle-django-allauth/0.1.0/", "requires_dist": [ "Django (>=1.11)", "django-allauth" ], "requires_python": "", "summary": "Fyle OAuth2 provider for Django, lets you associate Fyle accounts with your User accounts.", "version": "0.1.0" }, "last_serial": 5888749, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5fdc2dcfe4d9076b9f8d984890f64dad", "sha256": "1d8bc721f59a3850aa03c834f22e6b4214ff97cd887fe6be603e1af185ea5757" }, "downloads": -1, "filename": "fyle_django_allauth-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5fdc2dcfe4d9076b9f8d984890f64dad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5460, "upload_time": "2019-09-26T06:04:11", "url": "https://files.pythonhosted.org/packages/4c/2a/209cf139c311cdccef4dfd437f42aeef59ae56027db9f5b67464127314d9/fyle_django_allauth-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bc9bdea4426820fe935f7bc7cf0a8bf", "sha256": "d246231b9a2e810437ef0d87c8aba265042f2956282a575fc741dc775177b8b6" }, "downloads": -1, "filename": "fyle-django-allauth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0bc9bdea4426820fe935f7bc7cf0a8bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4411, "upload_time": "2019-09-26T06:04:14", "url": "https://files.pythonhosted.org/packages/e1/7e/ef8cbfeb3652d2926f328ad959a0527a6839aeb4160676db57a6ae527710/fyle-django-allauth-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5fdc2dcfe4d9076b9f8d984890f64dad", "sha256": "1d8bc721f59a3850aa03c834f22e6b4214ff97cd887fe6be603e1af185ea5757" }, "downloads": -1, "filename": "fyle_django_allauth-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5fdc2dcfe4d9076b9f8d984890f64dad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5460, "upload_time": "2019-09-26T06:04:11", "url": "https://files.pythonhosted.org/packages/4c/2a/209cf139c311cdccef4dfd437f42aeef59ae56027db9f5b67464127314d9/fyle_django_allauth-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bc9bdea4426820fe935f7bc7cf0a8bf", "sha256": "d246231b9a2e810437ef0d87c8aba265042f2956282a575fc741dc775177b8b6" }, "downloads": -1, "filename": "fyle-django-allauth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0bc9bdea4426820fe935f7bc7cf0a8bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4411, "upload_time": "2019-09-26T06:04:14", "url": "https://files.pythonhosted.org/packages/e1/7e/ef8cbfeb3652d2926f328ad959a0527a6839aeb4160676db57a6ae527710/fyle-django-allauth-0.1.0.tar.gz" } ] }