Skip to content

Add an option to ignore logout errors #227

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 2, 2020

Conversation

maxbes
Copy link
Contributor

@maxbes maxbes commented Oct 2, 2020

When the IDP session time is shorter than the Django session time, logout from Django will trigger an SAML logout error.

There are use cases, such as an IDP being used for a single application, where not being able to successfully logout from the IDP is not a big issue. So I am proposing an option that lets the Django logout flow continue even when SAML logout could not be performed successfully

@peppelinux
Copy link
Member

I like it, can I ask you to cover this feature with some unit tests?

@peppelinux peppelinux merged commit 00c59a9 into IdentityPython:master Oct 2, 2020
@maxbes
Copy link
Contributor Author

maxbes commented Oct 2, 2020

I tried to write tests but I couldn't find any logout-related scenarios in the test suite and I'm not sure how to approach this

@peppelinux
Copy link
Member

Please open an Issue to document this kind of request for the future releases, We'll keep this ToDo

@peppelinux
Copy link
Member

reference this PR as well

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

Successfully merging this pull request may close these issues.

2 participants