Ticket #1659 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

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

Changed 16 months ago by dread

  • status changed from new to closed
  • resolution set to fixed

Changed 16 months ago by dread

Note: See TracTickets for help on using tickets.