{
"info": {
"author": "Mozilla Services",
"author_email": "services-dev@mozilla.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
"description": "Deprecation Notice\r\n==================\r\n\r\nWith the rename of cliquet to kinto.core, this package is no longer supported. Please upgrade to kinto-fxa instead!\r\n\r\nFirefox Accounts support in Cliquet\r\n===================================\r\n\r\n|travis| |master-coverage|\r\n\r\n.. |travis| image:: https://travis-ci.org/mozilla-services/cliquet-fxa.svg?branch=master\r\n :target: https://travis-ci.org/mozilla-services/cliquet-fxa\r\n\r\n.. |master-coverage| image::\r\n https://coveralls.io/repos/mozilla-services/cliquet-fxa/badge.png?branch=master\r\n :alt: Coverage\r\n :target: https://coveralls.io/r/mozilla-services/cliquet-fxa\r\n\r\n*Cliquet-fxa* enables authentication in *Cliquet* applications using\r\n*Firefox Accounts* OAuth2 bearer tokens.\r\n\r\nIt provides:\r\n\r\n* An authentication policy class;\r\n* Integration with *Cliquet* cache backend for token verifications;\r\n* Integration with *Cliquet* for heartbeat view checks;\r\n* Some optional endpoints to perform the *OAuth* dance (*optional*).\r\n\r\n\r\n* `Cliquet documentation `_\r\n* `Issue tracker `_\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nAs `stated in the official documentation `_,\r\nFirefox Accounts OAuth integration is currently limited to Mozilla relying services.\r\n\r\nInstall the Python package:\r\n\r\n::\r\n\r\n pip install cliquet-fxa\r\n\r\n\r\nInclude the package in the project configuration:\r\n\r\n::\r\n\r\n cliquet.includes = cliquet_fxa\r\n\r\nAnd configure authentication policy using `pyramid_multiauth\r\n`_ formalism:\r\n\r\n::\r\n\r\n multiauth.policies = fxa\r\n\r\nBy default, it will rely on the cache configured in *Cliquet*.\r\n\r\n\r\nConfiguration\r\n-------------\r\n\r\nFill those settings with the values obtained during the application registration:\r\n\r\n::\r\n\r\n fxa-oauth.client_id = 89513028159972bc\r\n fxa-oauth.client_secret = 9aced230585cc0aaea0a3467dd800\r\n fxa-oauth.oauth_uri = https://oauth-stable.dev.lcip.org\r\n fxa-oauth.requested_scope = profile kinto\r\n fxa-oauth.required_scope = kinto\r\n fxa-oauth.webapp.authorized_domains = *.firefox.com\r\n # fxa-oauth.cache_ttl_seconds = 300\r\n # fxa-oauth.state.ttl_seconds = 3600\r\n\r\n\r\nIn case the application shall not behave as a relier (a.k.a. OAuth dance\r\nendpoints disabled):\r\n\r\n::\r\n\r\n fxa-oauth.relier.enabled = false\r\n\r\n\r\nIf necessary, override default values for authentication policy:\r\n\r\n::\r\n\r\n # multiauth.policy.fxa.realm = Realm\r\n # multiauth.policy.fxa.use = cliquet_fxa.authentication.FxAOAuthAuthenticationPolicy\r\n\r\n\r\nLogin flow\r\n----------\r\n\r\nOAuth Bearer token\r\n::::::::::::::::::\r\n\r\nUse the OAuth token with this header:\r\n\r\n::\r\n\r\n Authorization: Bearer \r\n\r\n\r\n:notes:\r\n\r\n If the token is not valid, this will result in a ``401`` error response.\r\n\r\n\r\nObtain token using Web UI\r\n:::::::::::::::::::::::::\r\n\r\n* Navigate the client to ``GET /fxa-oauth/login?redirect=http://app-endpoint/#``.\r\n There, a session cookie will be set, and the client will be redirected to a login\r\n form on the FxA content server;\r\n* After submitting the credentials on the login page, the client will\r\n be redirected to ``http://app-endpoint/#{token}`` (the web-app).\r\n\r\n\r\nObtain token custom flow\r\n::::::::::::::::::::::::\r\n\r\nThe ``GET /v1/fxa-oauth/params`` endpoint can be use to get the\r\nconfiguration in order to trade the *Firefox Accounts* BrowserID with a\r\n*Bearer Token*. `See Firefox Account documentation about this behavior\r\n`_\r\n\r\n.. code-block:: http\r\n\r\n $ http GET http://localhost:8000/v0/fxa-oauth/params -v\r\n\r\n GET /v0/fxa-oauth/params HTTP/1.1\r\n Accept: */*\r\n Accept-Encoding: gzip, deflate\r\n Host: localhost:8000\r\n User-Agent: HTTPie/0.8.0\r\n\r\n\r\n HTTP/1.1 200 OK\r\n Content-Length: 103\r\n Content-Type: application/json; charset=UTF-8\r\n Date: Thu, 19 Feb 2015 09:28:37 GMT\r\n Server: waitress\r\n\r\n {\r\n \"client_id\": \"89513028159972bc\",\r\n \"oauth_uri\": \"https://oauth-stable.dev.lcip.org\",\r\n \"scope\": \"profile\"\r\n }\r\n\r\n\r\nChangelog\r\n=========\r\n\r\nThis document describes changes between each past release.\r\n\r\n1.4.0 (2015-10-28)\r\n------------------\r\n\r\n- Updated to *Cliquet* 2.9.0\r\n\r\n**Breaking changes**\r\n\r\n- *cliquet-fxa* cannot be included using ``pyramid.includes`` setting.\r\n Use ``cliquet.includes`` instead.\r\n\r\n\r\n1.3.2 (2015-10-22)\r\n------------------\r\n\r\n**Bug fixes**\r\n\r\n- In case the Oauth dance is interrupted, return a ``408 Request Timeout``\r\n error instead of the ``401 Unauthenticated`` one. (#11)\r\n- Do not call ``cliquet.load_default_settings`` from cliquet-fxa (#12)\r\n\r\n\r\n1.3.1 (2015-09-29)\r\n------------------\r\n\r\n- Separate multiple scopes by a + in login URL.\r\n\r\n\r\n1.3.0 (2015-09-29)\r\n------------------\r\n\r\n**Bug fixes**\r\n\r\n- Multiple scopes can be requested on the login flow.\r\n- Multiple scopes can be required for the app.\r\n\r\n**Configuration changes**\r\n\r\n- ``fxa-oauth.scope`` is now deprecated. ``fxa-oauth.requested_scope`` and\r\n ``fxa-oauth.required_scope`` should be used instead.\r\n\r\n\r\n1.2.0 (2015-06-24)\r\n------------------\r\n\r\n- Add default settings to define a policy \"fxa\".\r\n It is now possible to just include ``cliquet_fxa`` and\r\n add ``fxa`` to ``multiauth.policies`` setting list.\r\n- Do not check presence of cliquet cache in initialization\r\n phase.\r\n- Do not use Cliquet logger to prevent initialization errors.\r\n\r\n\r\n1.1.0 (2015-06-18)\r\n------------------\r\n\r\n- Do not prefix authenticated user with ``fxa_`` anymore (#5)\r\n\r\n\r\n1.0.0 (2015-06-09)\r\n------------------\r\n\r\n- Imported code from *Cliquet*\r\n\r\n\r\nContributors\r\n============\r\n\r\n* Alexis Metaireau \r\n* Mathieu Leplatre \r\n* Nicolas Perriault \r\n* R\u00e9my Hubscher \r\n* Tarek Ziade ",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/mozilla-services/cliquet-fxa",
"keywords": "web services",
"license": "Apache License (2.0)",
"maintainer": "",
"maintainer_email": "",
"name": "cliquet-fxa",
"package_url": "https://pypi.org/project/cliquet-fxa/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/cliquet-fxa/",
"project_urls": {
"Homepage": "https://github.com/mozilla-services/cliquet-fxa"
},
"release_url": "https://pypi.org/project/cliquet-fxa/1.4.0/",
"requires_dist": [
"cliquet (>=2.9)",
"pyfxa (>=0.0.9)"
],
"requires_python": "",
"summary": "deprecated! see kinto-fxa instead. was: Firefox Accounts support in Cliquet",
"version": "1.4.0"
},
"last_serial": 2125479,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "785effaf4efcbcb530eb46c065bebe80",
"sha256": "2a21a5c3185f5a4918756099bff3658a9948ddee01ad9c4d6ba61b3ecbbf646e"
},
"downloads": -1,
"filename": "cliquet-fxa-1.0.0.zip",
"has_sig": false,
"md5_digest": "785effaf4efcbcb530eb46c065bebe80",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18623,
"upload_time": "2015-06-09T09:36:45",
"url": "https://files.pythonhosted.org/packages/c4/7f/a330524f8489ed3b455125e1150605aa7f931ad30573bf142ada7c4883dd/cliquet-fxa-1.0.0.zip"
}
],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "2e3863a6a9355156b4677b892e7732d0",
"sha256": "624929d86483a869a041beb0fd82fa99e041d16ab1031feadd74b2e0e68b65e1"
},
"downloads": -1,
"filename": "cliquet-fxa-1.1.0.zip",
"has_sig": false,
"md5_digest": "2e3863a6a9355156b4677b892e7732d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18996,
"upload_time": "2015-06-18T11:28:34",
"url": "https://files.pythonhosted.org/packages/36/84/370edb5b05d5abd4510f641ec43cbe09e057e560cf986da92345a51e3f89/cliquet-fxa-1.1.0.zip"
}
],
"1.2.0": [
{
"comment_text": "",
"digests": {
"md5": "f77e79b77c53840bf903f371225994b7",
"sha256": "078420ab64b923987dffbe95ec0dcb98037bbfafb4006d4066430cd1fc713e1c"
},
"downloads": -1,
"filename": "cliquet-fxa-1.2.0.zip",
"has_sig": false,
"md5_digest": "f77e79b77c53840bf903f371225994b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19748,
"upload_time": "2015-06-23T23:47:05",
"url": "https://files.pythonhosted.org/packages/82/64/3b883a8ffff9a4c477545934c06e5af33899d271db46bb6b16a86c67f7e7/cliquet-fxa-1.2.0.zip"
}
],
"1.3.0": [
{
"comment_text": "",
"digests": {
"md5": "691611172bec734c3a88d12411de6925",
"sha256": "d3885c5ead3a6b5115e5beab62e7cdf5b19186f8785655d2a79ca955cd32be3c"
},
"downloads": -1,
"filename": "cliquet_fxa-1.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "691611172bec734c3a88d12411de6925",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 16096,
"upload_time": "2015-09-29T15:14:25",
"url": "https://files.pythonhosted.org/packages/3b/e9/b60410550294e7eb45060ee353b6ffa15a9eba60708cbafde1f73f2aa4fc/cliquet_fxa-1.3.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "2db17225f96f78f8a89082fda3750203",
"sha256": "4d35438cb9c8ede772e957ad4c04f42603745104f3f0b22a591beb3b148869b4"
},
"downloads": -1,
"filename": "cliquet-fxa-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "2db17225f96f78f8a89082fda3750203",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11013,
"upload_time": "2015-09-29T15:14:18",
"url": "https://files.pythonhosted.org/packages/96/f9/6a8b0557d33838b3f413a4d0a1bdb9bd0af2e2e2e7625e83551a51156f61/cliquet-fxa-1.3.0.tar.gz"
}
],
"1.3.1": [
{
"comment_text": "",
"digests": {
"md5": "abf5e3fa969508c39bbf41c392f3a9f1",
"sha256": "118d8064499cef8c6a10e64c03a00fc8df73afefa4309ce668901bec79f9779c"
},
"downloads": -1,
"filename": "cliquet_fxa-1.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "abf5e3fa969508c39bbf41c392f3a9f1",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 16238,
"upload_time": "2015-09-29T15:18:47",
"url": "https://files.pythonhosted.org/packages/4b/1b/692f9d0f3f7af22d31efa714b8ad03fa15ceee2a2938c22d78504ccd5e3b/cliquet_fxa-1.3.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "872594ce9bf8f609864b26982b9d8785",
"sha256": "b349ea559dd5ae5184e56fff4faba5aa595f5548c522b19a19cb3ec4cd8a63b9"
},
"downloads": -1,
"filename": "cliquet-fxa-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "872594ce9bf8f609864b26982b9d8785",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11153,
"upload_time": "2015-09-29T15:18:44",
"url": "https://files.pythonhosted.org/packages/9c/e0/33f48457d7cdc7405c4c1c060144456091ce6a5d9c1e21414ccfd7b2454e/cliquet-fxa-1.3.1.tar.gz"
}
],
"1.3.2": [
{
"comment_text": "",
"digests": {
"md5": "10f0252b0fef6f6275a755b7f356552a",
"sha256": "528e57464b21c745b71b2fb11c5b97882ce9d63757a26b2bb7c46ad78dd14732"
},
"downloads": -1,
"filename": "cliquet_fxa-1.3.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "10f0252b0fef6f6275a755b7f356552a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 16707,
"upload_time": "2015-10-22T10:59:17",
"url": "https://files.pythonhosted.org/packages/78/bf/6e95254331864abb32fbef45923c78d39bc555703a1106c8edad11487d2e/cliquet_fxa-1.3.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "0a882ee0f9df705287a7cbcf62955abd",
"sha256": "45af7b52e173ae8ab8fa463fa5285d49efca0887a5b6e22269faa035b86d988b"
},
"downloads": -1,
"filename": "cliquet-fxa-1.3.2.tar.gz",
"has_sig": false,
"md5_digest": "0a882ee0f9df705287a7cbcf62955abd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11472,
"upload_time": "2015-10-22T10:59:31",
"url": "https://files.pythonhosted.org/packages/da/5b/a6944ea598484618ebe02f7f7123b591dbbff9c13e9da9f28461a7c246c7/cliquet-fxa-1.3.2.tar.gz"
}
],
"1.4.0": [
{
"comment_text": "",
"digests": {
"md5": "55324005576366a7011aa02d590a3779",
"sha256": "f0065b27f31245f620b45c6d6a77ed4232c9199eaa397336276b1e211b022f85"
},
"downloads": -1,
"filename": "cliquet_fxa-1.4.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "55324005576366a7011aa02d590a3779",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 16977,
"upload_time": "2015-10-28T10:48:07",
"url": "https://files.pythonhosted.org/packages/e9/49/13485b6bb79896dcfb80d4d8a1f85211b67f82b84cb03e10bfe2f52e3fd2/cliquet_fxa-1.4.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3149b6041936e23c2048a06ccd620047",
"sha256": "4ac2e33aa5ab7c512acabeb97a16132798c6ef0f4027134479a8a466fe3d6b4a"
},
"downloads": -1,
"filename": "cliquet-fxa-1.4.0.tar.gz",
"has_sig": false,
"md5_digest": "3149b6041936e23c2048a06ccd620047",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11677,
"upload_time": "2015-10-28T10:48:14",
"url": "https://files.pythonhosted.org/packages/06/63/512a659c09aca41dbf1da3e9010a84f16bd8697a3b473d9b24a25a6f2c08/cliquet-fxa-1.4.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "55324005576366a7011aa02d590a3779",
"sha256": "f0065b27f31245f620b45c6d6a77ed4232c9199eaa397336276b1e211b022f85"
},
"downloads": -1,
"filename": "cliquet_fxa-1.4.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "55324005576366a7011aa02d590a3779",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 16977,
"upload_time": "2015-10-28T10:48:07",
"url": "https://files.pythonhosted.org/packages/e9/49/13485b6bb79896dcfb80d4d8a1f85211b67f82b84cb03e10bfe2f52e3fd2/cliquet_fxa-1.4.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3149b6041936e23c2048a06ccd620047",
"sha256": "4ac2e33aa5ab7c512acabeb97a16132798c6ef0f4027134479a8a466fe3d6b4a"
},
"downloads": -1,
"filename": "cliquet-fxa-1.4.0.tar.gz",
"has_sig": false,
"md5_digest": "3149b6041936e23c2048a06ccd620047",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11677,
"upload_time": "2015-10-28T10:48:14",
"url": "https://files.pythonhosted.org/packages/06/63/512a659c09aca41dbf1da3e9010a84f16bd8697a3b473d9b24a25a6f2c08/cliquet-fxa-1.4.0.tar.gz"
}
]
}