{
"info": {
"author": "R\u00e9my Hubscher",
"author_email": "hubscher.remy@gmail.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
"description": "Facebook Auth support in Kinto\n==============================\n\n|travis| |master-coverage|\n\n.. |travis| image:: https://travis-ci.org/Kinto/kinto-facebook.svg?branch=master\n :target: https://travis-ci.org/Kinto/kinto-facebook\n\n.. |master-coverage| image::\n https://coveralls.io/repos/Kinto/kinto-facebook/badge.png?branch=master\n :alt: Coverage\n :target: https://coveralls.io/r/Kinto/kinto-facebook\n\n*Kinto-facebook* enables authentication in *Kinto* applications using\n*Facebook* OAuth2 bearer tokens.\n\nIt provides:\n\n* An authentication policy class;\n* Integration with *Kinto* cache backend for token verifications;\n* Integration with *Kinto* for heartbeat view checks;\n* Some optional endpoints to perform the *OAuth* dance (*optional*).\n\n\n* `Kinto documentation `_\n* `Issue tracker `_\n\n\nInstallation\n------------\n\nFirst of all, `create a Facebook Auth app `_.\n\nYou need to grab the `client_id`, `client_secret` and\n`app_client_token` in the app general settings page:\n\n::\n\n https://developers.facebook.com/apps/{client_id}/settings/basic/\n https://developers.facebook.com/apps/{client_id}/settings/advanced/\n\n\nInstall the Python package:\n\n::\n\n pip install kinto-facebook\n\n\nInclude the package in the project configuration:\n\n::\n\n kinto.includes = kinto_facebook\n\nAnd configure authentication policy using `pyramid_multiauth\n`_ formalism:\n\n::\n\n multiauth.policies = facebook\n multiauth.policy.facebook.use = kinto_facebook.authentication.FacebookAuthenticationPolicy\n\nBy default, it will rely on the cache configured in *Kinto*.\n\n\nConfiguration\n-------------\n\nFill those settings with the values obtained during the application registration:\n\n::\n\n facebook.client_id = 89513028159972bc\n facebook.client_secret = 9aced230585cc0aaea0a3467dd800\n facebook.app_access_token = 30ce836499a146428464b28816b1618b\n facebook.webapp.authorized_domains = *\n # facebook.cache_ttl_seconds = 300\n # facebook.state.ttl_seconds = 3600\n\n\nIn case the application shall not behave as a relier (a.k.a. OAuth dance\nendpoints disabled):\n\n::\n\n facebook.relier.enabled = false\n\n\nIf necessary, override default values for authentication policy:\n\n::\n\n facebook.header_type = Bearer+Facebook\n\n\nLogin flow\n----------\n\nOAuth Bearer token\n::::::::::::::::::\n\nUse the OAuth token with this header:\n\n::\n\n Authorization: Bearer \n\n\n:notes:\n\n If the token is not valid, this will result in a ``401`` error response.\n\n\nObtain token using Web UI\n:::::::::::::::::::::::::\n\n* Navigate the client to ``GET /facebook/login?redirect=http://app-endpoint/%23``.\n There, a session cookie will be set, and the client will be redirected to a login\n form on the Facebook content server;\n* After submitting the credentials on the login page, the client will\n be redirected to ``http://app-endpoint/#{token}`` (the web-app).\n\n\nChangelog\n=========\n\nThis document describes changes between each past release.\n\n0.1.0 (2018-03-15)\n------------------\n\n- Initial implementation.\n\n\nContributors\n============\n\n* Mathieu Leplatre \n* R\u00e9my Hubscher ",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/Kinto/kinto-facebook",
"keywords": "web services",
"license": "Apache License (2.0)",
"maintainer": "",
"maintainer_email": "",
"name": "kinto-facebook",
"package_url": "https://pypi.org/project/kinto-facebook/",
"platform": "",
"project_url": "https://pypi.org/project/kinto-facebook/",
"project_urls": {
"Homepage": "https://github.com/Kinto/kinto-facebook"
},
"release_url": "https://pypi.org/project/kinto-facebook/0.1.0/",
"requires_dist": null,
"requires_python": "",
"summary": "Facebook Auth support in Kinto",
"version": "0.1.0"
},
"last_serial": 4266242,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "b5cadd7da3f9e294b9c2caf784938558",
"sha256": "cfbc832091908e71f00e5305dbe5ea050ff669bfde610ca8904fa1a7b0a561d4"
},
"downloads": -1,
"filename": "kinto_facebook-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b5cadd7da3f9e294b9c2caf784938558",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14785,
"upload_time": "2018-03-15T15:39:31",
"url": "https://files.pythonhosted.org/packages/b1/b1/c39e548a92bf6c801ca70229b993e4d987f16b0a53efd5a9a01898ee0da8/kinto_facebook-0.1.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3c97e483061872bd16cb4f80329f4106",
"sha256": "325ea9dfc8dc74937544bf897c6e72a04b5d6e0118b0cf3b6427d788898e7012"
},
"downloads": -1,
"filename": "kinto-facebook-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3c97e483061872bd16cb4f80329f4106",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11032,
"upload_time": "2018-03-15T15:39:30",
"url": "https://files.pythonhosted.org/packages/b5/6e/b5f1bf468160ed7fc87f8d30d193555cff398fc20bfd6a71e97b5b5b9aa5/kinto-facebook-0.1.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b5cadd7da3f9e294b9c2caf784938558",
"sha256": "cfbc832091908e71f00e5305dbe5ea050ff669bfde610ca8904fa1a7b0a561d4"
},
"downloads": -1,
"filename": "kinto_facebook-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b5cadd7da3f9e294b9c2caf784938558",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14785,
"upload_time": "2018-03-15T15:39:31",
"url": "https://files.pythonhosted.org/packages/b1/b1/c39e548a92bf6c801ca70229b993e4d987f16b0a53efd5a9a01898ee0da8/kinto_facebook-0.1.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3c97e483061872bd16cb4f80329f4106",
"sha256": "325ea9dfc8dc74937544bf897c6e72a04b5d6e0118b0cf3b6427d788898e7012"
},
"downloads": -1,
"filename": "kinto-facebook-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3c97e483061872bd16cb4f80329f4106",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11032,
"upload_time": "2018-03-15T15:39:30",
"url": "https://files.pythonhosted.org/packages/b5/6e/b5f1bf468160ed7fc87f8d30d193555cff398fc20bfd6a71e97b5b5b9aa5/kinto-facebook-0.1.0.tar.gz"
}
]
}