{ "info": { "author": "SYLEAM, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n==============\nOAuth Provider\n==============\n\nThis module allows you to turn Odoo into an OAuth 2 provider.\n\nIt's meant to provide the basic authentication feature, and some data access routes.\nBut you are encouraged to create custom routes, in other modules, to give structured data for any specific need.\n\nInstallation\n============\n\nTo install this module, you need to:\n\n#. Install the oauthlib python module\n#. Install the module like any other in Odoo\n#. For the token retrieval to work on a multi-database instance, you should add this module in the server_wide_modules list\n\nConfiguration\n=============\n\nThis module requires you to configure two things :\n\n#. The scopes are used to define restricted data access\n#. The clients are used to declare applications that will be allowed to request tokens and data\n\nTo configure scopes, you need to:\n\n#. Go to Settings > Users > OAuth Provider Scopes\n#. Create some scopes:\n\n - The scope name and description will be displayed to the user on the authorization page.\n - The code is the value provided by the OAuth clients to request access to the scope.\n - The model defines which model the scope is linked to (access to user data, partners, sales orders, etc.).\n - The filter allows you to determine which records will be accessible through this scope. No filter means all records of the model are accessible.\n - The field names allows you to define which fields will be provided to the clients. An empty list only returns the id of accessible records.\n\nTo configure clients, you need to:\n\n#. Go to Settings > Users > OAuth Provider Clients\n#. Create at least one client:\n\n - The name will be displayed to the user on the authorization page.\n - The client identifier is the value provided by the OAuth clients to request authorizations/tokens.\n - The application type adapts the process to four pre-defined profiles:\n\n - Web Application : Authorization Code Grant\n - Mobile Application : Implicit Grant\n - Legacy Application : Resource Owner Password Credentials Grant\n - Backend Application : User Credentials Grant (not implemented yet)\n\n - The skip authorization checkbox allows the client to skip the authorization page, and directly deliver a token without prompting the user (useful when the application is trusted).\n - The allowed scopes list defines which data will be accessible by this client applicaton.\n - The allowed redirect URIs must match the URI sent by the client, to avoid redirecting users to an unauthorized service. The first value in the list is the default redirect URI.\n\nFor example, to configure an Odoo's *auth_oauth* module compatible client, you will enter these values :\n\n- Name : Anything you want\n- Client identifier : The identifier you want to give to this client\n- Application Type : Mobile Application (Odoo uses the implicit grant mode, which corresponds to the mobile application profile)\n- Allowed Scopes : Nothing required, but allowing access to current user's email and name is used by Odoo to fill user's information on signup\n- Allowed Redirect URIs : http://odoo.example.com/auth_oauth/signin\n\nUsage\n=====\n\nThis module will allow OAuth clients to use your Odoo instance as an OAuth provider.\n\nOnce configured, you must give these information to your client application :\n\n#. Client identifier : Identifies the application (to be able to check allowed scopes and redirect URIs)\n#. Allowed scopes : The codes of scopes allowed for this client\n#. URLs for the requests :\n\n - Authorization request : http://odoo.example.com/oauth2/authorize\n - Token request : http://odoo.example.com/oauth2/token\n - Token information request : http://odoo.example.com/oauth2/tokeninfo\n Parameters : access_token\n - User information request : http://odoo.example.com/oauth2/userinfo\n Parameters : access_token\n - Any other model information request (depending on the scopes) : http://odoo.example.com/oauth2/otherinfo\n Parameters : access_token and model\n\nFor example, to configure the *auth_oauth* Odoo module as a client, you will enter these values :\n\n- Provider name : Anything you want\n- Client ID : The identifier of the client configured in your Odoo Provider instance\n- Body : Text displayed on Odoo's login page link\n- Authentication URL : http://odoo.example.com/oauth2/authorize\n- Scope : A space separated list of scope codes allowed to the client in your Odoo Provider instance\n- Validation URL : http://odoo.example.com/oauth2/tokeninfo\n- Data URL : http://odoo.example.com/oauth2/userinfo\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/149/9.0\n\nKnown issues / Roadmap\n======================\n\n* Implement the backend application profile (client credentials grant type)\n* Add checkboxes on the authorization page to allow the user to disable some scopes for a token ? (I don't know if this is allowed in the OAuth protocol)\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smashing it by providing a detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Sylvain Garancher \n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.syleam.fr/", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo9-addon-oauth-provider", "package_url": "https://pypi.org/project/odoo9-addon-oauth-provider/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/odoo9-addon-oauth-provider/", "project_urls": { "Homepage": "http://www.syleam.fr/" }, "release_url": "https://pypi.org/project/odoo9-addon-oauth-provider/9.0.1.0.0/", "requires_dist": [ "odoo (<9.1a,>=9.0a)" ], "requires_python": "", "summary": "Allows to use Odoo as an OAuth2 provider", "version": "9.0.1.0.0" }, "last_serial": 3998334, "releases": { "9.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "f5ed7aedf1b4b0f64eed0133a5c7b9d4", "sha256": "0a8358a9d1bcd070e6f40fa277f5429115436c6b75be04932b9866708aa025c0" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "f5ed7aedf1b4b0f64eed0133a5c7b9d4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 43673, "upload_time": "2017-04-12T09:06:12", "url": "https://files.pythonhosted.org/packages/f7/73/0d66999738848da8575dec288e41f17de66ca4beb33a30e81ce67b954efe/odoo9_addon_oauth_provider-9.0.1.0.0-py2-none-any.whl" } ], "9.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "9e4074f793d62ec6366485bb48ab2d1f", "sha256": "e5299a24e4138c71198b276dbd19a8f066b1a4a1a3bd293370ef3d5741719964" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "9e4074f793d62ec6366485bb48ab2d1f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 224880, "upload_time": "2017-05-02T05:23:19", "url": "https://files.pythonhosted.org/packages/27/b9/0e8dac41c1c9cd563db85f14b5f6e71f70539c3dcb88afc2160796bd084d/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev1-py2-none-any.whl" } ], "9.0.1.0.0.99.dev10": [ { "comment_text": "", "digests": { "md5": "f9f2c5b58bad81013f3bf3e77ca4b63d", "sha256": "144b083a1e8c887967fd53ee38c379d42deb3e6e6880a956811ef0c476112581" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev10-py2-none-any.whl", "has_sig": false, "md5_digest": "f9f2c5b58bad81013f3bf3e77ca4b63d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 236247, "upload_time": "2018-06-25T04:31:56", "url": "https://files.pythonhosted.org/packages/16/c6/8b3828542871d05aef3674c2702dc301ba6a3994b82d5f1790fbb9340cad/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev10-py2-none-any.whl" } ], "9.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "b1d88f61285ce0597f5f38c69ffb170d", "sha256": "1237093dbf3f009236a847f31c703af21ee70f96e02b2b8db4ea323ec57dee0e" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "b1d88f61285ce0597f5f38c69ffb170d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 227498, "upload_time": "2017-07-02T09:25:36", "url": "https://files.pythonhosted.org/packages/a0/a9/b867453ee9277d1b2411f493136c2c50d15d69ffc06bf23c14fb86c1d4a8/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev2-py2-none-any.whl" } ], "9.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "b1e1118d088dd43f2de1b16182880ea1", "sha256": "db527cd996fd964c6c354f0b27f2939dfdae0ff6380fd557e17c756408ce65eb" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "b1e1118d088dd43f2de1b16182880ea1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 227599, "upload_time": "2017-09-03T04:41:20", "url": "https://files.pythonhosted.org/packages/a0/1a/7e94aa3bad75a2121b79e46b27d7b2b439d5100a039e7d47621281ce9711/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev3-py2-none-any.whl" } ], "9.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "5ebff514f662e0993741510fd69dca40", "sha256": "2e52b21399a9656fbde7af31ef7b6501ce7f8fa6bb5d280eccd38cec1b2a3641" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "5ebff514f662e0993741510fd69dca40", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 227714, "upload_time": "2017-10-22T04:30:08", "url": "https://files.pythonhosted.org/packages/ec/03/ac03c1773f7ecf21560a29e22bce9b9cf847ef9e77509f49a33fb3c199da/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev4-py2-none-any.whl" } ], "9.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "dca5b6f20e2a8f070e40a861abc97ed5", "sha256": "7e86156c26294a211d1d13cf66319a7f2130dc865d19f1c9fc5b1eb3171bd459" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev5-py2-none-any.whl", "has_sig": false, "md5_digest": "dca5b6f20e2a8f070e40a861abc97ed5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 230332, "upload_time": "2017-10-29T05:43:20", "url": "https://files.pythonhosted.org/packages/b7/ec/3edeca9690404b7fef2a59ad89ec3c9f043b74ce0ea09a46643b62f3d5b0/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev5-py2-none-any.whl" } ], "9.0.1.0.0.99.dev6": [ { "comment_text": "", "digests": { "md5": "a88cacfd750d35e13f1193bbc5cf1a2b", "sha256": "38175e6a4c225f73c9f1a0652833d603f7890dd6fb6f27145cd6e2684ee0b41c" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev6-py2-none-any.whl", "has_sig": false, "md5_digest": "a88cacfd750d35e13f1193bbc5cf1a2b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 230380, "upload_time": "2017-11-12T05:34:52", "url": "https://files.pythonhosted.org/packages/2e/fd/48a187c7dd32155e80476debce5f0ebdf61456cecfac694a3260a0042c76/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev6-py2-none-any.whl" } ], "9.0.1.0.0.99.dev7": [ { "comment_text": "", "digests": { "md5": "e46b7c7785119aba84828caaeed7fc6c", "sha256": "e3eda0367b4e55b919cb06c371cdc20bc84ff89443242c7b3493737548c78e34" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev7-py2-none-any.whl", "has_sig": false, "md5_digest": "e46b7c7785119aba84828caaeed7fc6c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 230363, "upload_time": "2017-12-03T05:40:44", "url": "https://files.pythonhosted.org/packages/68/0e/37b3048d3401a5dd78a9633fb419621a2d045881ae5b804e725c716c9f30/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev7-py2-none-any.whl" } ], "9.0.1.0.0.99.dev8": [ { "comment_text": "", "digests": { "md5": "ec1fe1ddeee08829ab94c4cd070582b4", "sha256": "8434afe035e144f04e7fa26e90c7946fce645b5969597bb4a999688ec3a8b6a1" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0.99.dev8-py2-none-any.whl", "has_sig": false, "md5_digest": "ec1fe1ddeee08829ab94c4cd070582b4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 233000, "upload_time": "2018-03-04T05:54:02", "url": "https://files.pythonhosted.org/packages/63/52/27a6369505d923f4230aae23f5a9bb3f8c9acb1ce4dc9e36059053f1974d/odoo9_addon_oauth_provider-9.0.1.0.0.99.dev8-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f5ed7aedf1b4b0f64eed0133a5c7b9d4", "sha256": "0a8358a9d1bcd070e6f40fa277f5429115436c6b75be04932b9866708aa025c0" }, "downloads": -1, "filename": "odoo9_addon_oauth_provider-9.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "f5ed7aedf1b4b0f64eed0133a5c7b9d4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 43673, "upload_time": "2017-04-12T09:06:12", "url": "https://files.pythonhosted.org/packages/f7/73/0d66999738848da8575dec288e41f17de66ca4beb33a30e81ce67b954efe/odoo9_addon_oauth_provider-9.0.1.0.0-py2-none-any.whl" } ] }