Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Additional Feature] SLO views (Single Logout) #23

Closed
peppelinux opened this issue Mar 13, 2019 · 3 comments
Closed

[Additional Feature] SLO views (Single Logout) #23

peppelinux opened this issue Mar 13, 2019 · 3 comments

Comments

@peppelinux
Copy link
Contributor

peppelinux commented Mar 13, 2019

We should be able to expose a correct web resource for managing Single Logout requests, in HTTP-POST (SOAP), from SP.

Actually we have only these

    path('sso/post', views.sso_entry, name="saml_login_post"),
    path('sso/redirect', views.sso_entry, name="saml_login_redirect"),
    path('sso/init', views.SSOInitView.as_view(), name="saml_idp_init"),
    path('login/process/', views.LoginProcessView.as_view(), name='saml_login_process'),
    path('login/process_multi_factor/', views.ProcessMultiFactorView.as_view(), name='saml_multi_factor'),
    path('metadata/', views.metadata, name='saml2_idp_metadata'),
]

Could we develop also the following, I apologize that I still have to read some more source code from pysaml2 example folder to get this more defined here.

    path('slo/post', views.sso_entry, name="saml_slo_post"),
    path('slo/init', views.SLOInitView.as_view(), name="saml_slo_init"),

Any ideas or suggestions?

@peppelinux peppelinux changed the title [Additional Features] SLO views (Single Logout) [Additional Feature] SLO views (Single Logout) Mar 13, 2019
@peppelinux
Copy link
Contributor Author

Implemented and tested in SLO branch:
https://github.com/peppelinux/djangosaml2idp/tree/SLO

@peppelinux
Copy link
Contributor Author

peppelinux commented Mar 19, 2019

I'm pushing PR to @askvortson1 repository for faster opinions and coordination, this feature was pushed in a separate branch. In It i coded lazy gettext and a general refactor - not invasive - of the previous code. I Hope to do it Better in the future.

merged into master, PR to @askvortson1 master branch is here:
askvortsov1#2

@mhindery
Copy link
Contributor

SLO is available in the package v0.6.0.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants