Skip to content
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

Raise a more descriptive exception if idp_sso_target_url is missing #453

Merged

Conversation

tomilaine
Copy link
Contributor

If idp_sso_target_url is missing, creating the authrequest fails currently with:
NoMethodError (undefined method `+' for nil:NilClass)
This is not very descriptive, so this pull request makes the exception message more helpful.

The motivation/need for this is that typically services handle the saml settings in some kind of dynamic way. If something goes wrong there and the settings are missing, it's good that ruby-saml will point them to the right direction.

@pitbulk pitbulk merged commit b69d513 into SAML-Toolkits:master Mar 23, 2018
@oTsogbadrakhChinzorig
Copy link

It’s happened to me, but still saml 2.0 requires sso url. We can change messages but from sp side it doesn’t have any meaning

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.

3 participants