Skip to content

Conversation

@machisuji
Copy link
Contributor

This is a mini PR that merely includes actual error messages in logout request validation errors, giving people a chance to find out what's wrong when it's not working.

@machisuji
Copy link
Contributor Author

Thanks for the review, @suprnova32!

@suprnova32 suprnova32 merged commit b4568bf into omniauth:master Jan 20, 2025
4 checks passed
@jamgregory
Copy link

This would be really useful for us - we're currently getting a lot of these exceptions but don't know what is causing them. Any idea when the gem might be bumped to include this @suprnova32 ?

@bufferoverflow
Copy link
Member

see #233

@jamgregory
Copy link

I don't think this is quite working as expected - it looks like the SloLogoutrequest instance expects is_valid? to be passed the parameter true if you want it to collect the errors and return them to the caller:
https://github.com/SAML-Toolkits/ruby-saml/blob/master/lib/onelogin/ruby-saml/slo_logoutrequest.rb#L58

Happy to put in another PR to fix this unless you just want to change it directly 👍

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.

4 participants