{ "info": { "author": "Petri Savolainen", "author_email": "petri.savolainen@koodaamo.fi", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)" ], "description": "Introduction\n------------\n\nThis is a modified Cookie Auth Plugin that only redirects if the UA is a browser.\nThe main envisioned use case is for scenarios that require an API to be built for\nan existing client (that we have no control over) that does not expect redirects\nto login form upon authentication.\n\nThe detection is done by comparing the request User-Agent header against some of\nthe most common browser user agent strings, ie. \"Mozilla\", \"Webkit\", \"Opera\", and\nfor the terminal users out there, \"Lynx\".\n\nBasic installation and use:\n\n1. Go to Zope root acl_users folder via ZMI\n2. Add a \"Browser-only-redirecting Cookie Auth Helper\".\n3. Go to \"plugins\" folder\n4. Click \"Challenge Plugins\" to get to the plugin registry\n5. Disable \"credentials_cookie_auth\" plugin\n6. Add in its place the plugin (helper) you added in 2.\n\nMake sure the plugin/helper you added is at the top so it's given a chance to\nrun first.\n\nThen, try authenticating with wrong credentials. You should get a proper 401\nUnauthorized response rather than the usual 302 Moved Temporarily (typically causing\nredirect).\n\nChange history\n**************\n\nChangelog\n=========\n\n1.0dev (unreleased)\n-------------------\n\n- Initial release\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/koodaamo/koodaamo.pas.browseronlyredirect", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "koodaamo.pas.browseronlyredirect", "package_url": "https://pypi.org/project/koodaamo.pas.browseronlyredirect/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/koodaamo.pas.browseronlyredirect/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/koodaamo/koodaamo.pas.browseronlyredirect" }, "release_url": "https://pypi.org/project/koodaamo.pas.browseronlyredirect/1.0/", "requires_dist": null, "requires_python": null, "summary": "CookieAuthHelper to redirect only if user agent is a real browser", "version": "1.0" }, "last_serial": 1690641, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "fa59ae91917fe02a4e1f01f78feb628d", "sha256": "3bb96b663867c6fc79678ca569ed40d00712ff5647d4f8e00e7f20b0fd0a2dc5" }, "downloads": -1, "filename": "koodaamo.pas.browseronlyredirect-1.0.zip", "has_sig": false, "md5_digest": "fa59ae91917fe02a4e1f01f78feb628d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18862, "upload_time": "2015-08-24T09:55:51", "url": "https://files.pythonhosted.org/packages/99/19/83c69c912f102174ae3db97480df448cf86b1d1b77d170f51f4709504cd7/koodaamo.pas.browseronlyredirect-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fa59ae91917fe02a4e1f01f78feb628d", "sha256": "3bb96b663867c6fc79678ca569ed40d00712ff5647d4f8e00e7f20b0fd0a2dc5" }, "downloads": -1, "filename": "koodaamo.pas.browseronlyredirect-1.0.zip", "has_sig": false, "md5_digest": "fa59ae91917fe02a4e1f01f78feb628d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18862, "upload_time": "2015-08-24T09:55:51", "url": "https://files.pythonhosted.org/packages/99/19/83c69c912f102174ae3db97480df448cf86b1d1b77d170f51f4709504cd7/koodaamo.pas.browseronlyredirect-1.0.zip" } ] }