Ticket #1659 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years 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


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:1 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.