DataShades / ckanext-saml2

SAML2 Authentication extension for CKAN
5 stars 23 forks source link

correct slo url #82

Closed smotornyuk closed 5 years ago

MrkGrgsn commented 7 years ago

@smotornyuk It looks like this PR got missed. It looks obviously correct to match the latest config but we've not noted any bugs that would be related to this. Do you remember what the bug was or which Jira issue it was for?

MrkGrgsn commented 7 years ago

Is it for redirect after SP-initiated single logout?

smotornyuk commented 7 years ago

As i remember, we have no ticket for this problem, this was just quick fix after change of BASE_URL in sp_config file. And yes, this should resolve some issue with redirect after logout

MrkGrgsn commented 7 years ago

I think this highlights an issue that should be resolved. The SLO endpoint will depend on the pysaml config, this map should be set dynamically from that config.

However, I think this should be merged anyway because we know that in our current version of this plugin, the SLO endpoint should be changed from the default to something like /saml2/slo to avoid conflicts with other POSTS. @smotornyuk if you update the included sp_config.py so that it includes default endpoints /saml2/slo and /saml2/sso then we can merge this.

smotornyuk commented 7 years ago

@MrkGrgsn , did you mean this ?