{ "info": { "author": "Rodrigo Orem", "author_email": "orem.rodrigo@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Communications :: Chat", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-rocketchat-auth\n======================\n\n.. image:: https://img.shields.io/pypi/v/django-rocketchat-auth.svg\n :target: https://pypi.python.org/pypi/django-rocketchat-auth\n\nAuthenticate your `Rocket.Chat`_ users with Django web framework.\n\nThis app implements the API used by `Rocket.Chat IFrame authentication`_. Also, it handles logout by wiring up a method on Django signals.\n\n\nQuickstart\n----------\n\n1. Install this app in you project::\n\n pip install django-rocketchat-auth\n\n2. Add \"rocketchat_auth\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'rocketchat_auth',\n )\n\n3. Update your `settings.py`::\n\n MONGO_DB = 'localhost:27017'\n ROCKETCHAT = 'localhost'\n\n4. Include the rocketchat_auth URLconf in your project urls.py like this::\n\n urlpatterns += [url(r'^rocketchat/', include('rocketchat_auth.urls'))]\n\n5. You will probably need to use `django-cors-headers`_ and set your Rocket.Chat domain in `CORS_ORIGIN_WHITELIST`\n\n6. Now go to your Rocket.Chat admin page > Settings > Accounts. Enable **Iframe** and set:\n\n - **Iframe URL**: http://localhost:8000/login/?next=/rocketchat/redirect (assuming you have a login page in /login)\n - **URL API**: http://localhost:8000/rocketchat/api\n\n\nRoadmap\n-------\n\n- Enforce unique email registration in Django admin, since Rocket.Chat requires this.\n- Update Rocket.Chat user details in MongoDB when the user is modified in Django Admin.\n\n.. _`Rocket.Chat`: https://github.com/RocketChat/Rocket.Chat) users using [Django framework](https://github.com/django/django\n.. _`Rocket.Chat IFrame authentication`: https://rocket.chat/docs/administrator-guides/authentication/iframe/\n.. _`django-cors-headers`: https://github.com/ottoyiu/django-cors-headers", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://rodorgas.github.com/django-rocketchat-auth", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-rocketchat-auth", "package_url": "https://pypi.org/project/django-rocketchat-auth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-rocketchat-auth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://rodorgas.github.com/django-rocketchat-auth" }, "release_url": "https://pypi.org/project/django-rocketchat-auth/1.2/", "requires_dist": null, "requires_python": null, "summary": "Authenticate Rocket.Chat with Django Framework", "version": "1.2" }, "last_serial": 2369572, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c9aa1f4ab4fbf1265abb08cd2a2f0b55", "sha256": "2155548865cdeff736672e67f2d6764eaa7096708710b6fb234c4d7ba0db795f" }, "downloads": -1, "filename": "django-rocketchat-auth-0.1.tar.gz", "has_sig": false, "md5_digest": "c9aa1f4ab4fbf1265abb08cd2a2f0b55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4558, "upload_time": "2016-08-09T22:32:31", "url": "https://files.pythonhosted.org/packages/72/43/e2ff524837f37dc957496187c4a07c11f2e50583829965a43614dfc6203c/django-rocketchat-auth-0.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "59192392cf4cbb7f0e9c4c2ccc52e7f0", "sha256": "e290a39550e1cc473f2dbcc4983fe386f33899d9bc6dd70de13e20cb3c260bbb" }, "downloads": -1, "filename": "django-rocketchat-auth-1.0.tar.gz", "has_sig": false, "md5_digest": "59192392cf4cbb7f0e9c4c2ccc52e7f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4773, "upload_time": "2016-09-28T19:32:18", "url": "https://files.pythonhosted.org/packages/81/63/a53c89117f0d17484014370ac89b963778e6a0e9f1dd2e7b87e1d1c0e77c/django-rocketchat-auth-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a5de1b8fb944b7345518bcd68e779854", "sha256": "b559868742f09afbf3b7c9e8dcfe417fd207938cbf5987a3f80796d7c594febb" }, "downloads": -1, "filename": "django-rocketchat-auth-1.1.tar.gz", "has_sig": false, "md5_digest": "a5de1b8fb944b7345518bcd68e779854", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4802, "upload_time": "2016-09-28T21:12:43", "url": "https://files.pythonhosted.org/packages/ed/de/f9f845af2d1d0fb58dd8de91d33ce726f293fa21e5a82a201ec45ca5ef54/django-rocketchat-auth-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "608c28a7a79225764a9a0e4c01a9f86f", "sha256": "07d6b6855ec4e64674565ee46ce6b82a580047b55fd2d8e01b67f84e6e516ac3" }, "downloads": -1, "filename": "django-rocketchat-auth-1.2.tar.gz", "has_sig": false, "md5_digest": "608c28a7a79225764a9a0e4c01a9f86f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4834, "upload_time": "2016-09-28T21:30:49", "url": "https://files.pythonhosted.org/packages/bd/a4/14f72bc149574477b7fa23a3527c469ddf50d9b82f3f0eff8c9eb12937e6/django-rocketchat-auth-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "608c28a7a79225764a9a0e4c01a9f86f", "sha256": "07d6b6855ec4e64674565ee46ce6b82a580047b55fd2d8e01b67f84e6e516ac3" }, "downloads": -1, "filename": "django-rocketchat-auth-1.2.tar.gz", "has_sig": false, "md5_digest": "608c28a7a79225764a9a0e4c01a9f86f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4834, "upload_time": "2016-09-28T21:30:49", "url": "https://files.pythonhosted.org/packages/bd/a4/14f72bc149574477b7fa23a3527c469ddf50d9b82f3f0eff8c9eb12937e6/django-rocketchat-auth-1.2.tar.gz" } ] }