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

Unable to decode SAML2 response string #10

Open
borabilgin opened this issue Mar 8, 2016 · 2 comments
Open

Unable to decode SAML2 response string #10

borabilgin opened this issue Mar 8, 2016 · 2 comments

Comments

@borabilgin
Copy link

When testing SAML2 responses, this is what I do to decode the response string:
1- URL decode
2- Base64 decode
3- Inflate the string

With this method, I'm able to see SAML2 responses. Many online SAML2 debugging tools provide this as well.

However, this library only URL decodes and then Base64 decodes, and does not inflate the string - hence cannot understand the response (the relevant code is in Utility.cs, GetDecodedSamlResponse method)

Am I missing something - is this not part of the standard?

@elerch
Copy link
Owner

elerch commented Mar 11, 2016

Take a look at #11 and let me know if it solves the issue for you. There's some evaluation I still want to make before accepting it, but you seem to have the issue @zarusz is solving.

@borabilgin
Copy link
Author

Exactly the issue I'm having. This fixes my problem. Thanks @zarusz!
On Mar 11, 2016 6:03 PM, "Emil Lerch" [email protected] wrote:

Take a look at #11 #11 and let me
know if it solves the issue for you. There's some evaluation I still want
to make before accepting it, but you seem to have the issue @zarusz
https://github.com/zarusz is solving.


Reply to this email directly or view it on GitHub
#10 (comment).

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

No branches or pull requests

2 participants