-
-
Notifications
You must be signed in to change notification settings - Fork 569
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
SamlReponse only supports one level of StatusCode #374
Comments
Sure, are you able to provide the PR with that change and unit test? |
Hi @pitbulk, I hadn't spotted that you'd responded to this issue. I don't have a problem creating a PR, but the PR I currently have in place seems to be failing a CI test due to what looks like a nokogiri version issue in JRuby. I think if I submit another PR it will have the same issue. |
you can send that PR... it seems that in JRuby sometimes there are random false failing CI test |
any progress? |
Sorry - I've moved to another project, and we managed to work around the problem in the project where the fix was required. However, I should be able to get this into a PR (especially now that my other PR is progressing), so at the moment it is a case of finding the time to write it. |
SAML supports two levels of StatusCode, and on failure it is the inner one that has the most pertinent information. For example, here is a NoAuthnContext failure:
However the method
OneLogin::RubySaml::Response#status_code
will only output if there is just one StatusCode:Could this be replaced with something that either returned an array of statuses or concatenated multiple statuses. For example:
The text was updated successfully, but these errors were encountered: