Ticket #1659 (closed defect: fixed)
Cannot logout if CKAN mounted at non-root url
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | minor | Milestone: | ckan-sprint-2012-01-23 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
If you set WSGIScriptAlias to mount CKAN at a URL other than / then you cannot logout without adjusting the OpenID logged_out_url to match in who.ini config. e.g.
[plugin:openid] ... logged_out_url = /sub/dir/user/logged_out
Note: all the other URLs in who.ini should not have the /sub/dir/ - it is just this one that doesn't take account of the mounting point.
The solution is to fix-up the repoze.who OpenID plugin to take account of the mounting point.
Change History
comment:2 Changed 2 years ago by dread
Needed another fix: https://github.com/okfn/ckan/compare/ff08fd6...b772f52
Note: See
TracTickets for help on using
tickets.
Fixed in https://github.com/okfn/ckan/commit/7eb7dddbc103a23291c05a938d9e05365c7e6189 aimed at 1.5.2