Skip to content

Fix unsigned authentication request to POST endpoint #167

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
Apr 30, 2020

Conversation

RouganStriker
Copy link
Contributor

@RouganStriker RouganStriker commented Dec 19, 2019

Fixes #168

@RouganStriker
Copy link
Contributor Author

@knaperek are build checks disabled for PRs in this project? Because the last 5 commits that went into the master branch all have failing tests.

@peppelinux
Copy link
Member

peppelinux commented Dec 19, 2019

@RouganStriker have you tested allow_create?

I'll check It tomorrow and I'll report here, if something changed and why I coded that way.

Regarding bytes/str We know about this issues with latests Django released. We should find a compatibile patch for all the supported django releases

Nice shoot

@RouganStriker
Copy link
Contributor Author

@RouganStriker have you tested allow_create?

I verified that the attribute was being set in the AuthenticationRequest. Much appreciated if you could test it out as well since I don't have an instance that uses that attribute.

@peppelinux
Copy link
Member

thank you @RouganStriker with this we should definitely made the code better in readability and without ambiguity:
#169

tested

@RouganStriker
Copy link
Contributor Author

thank you @RouganStriker with this we should definitely made the code better in readability and without ambiguity:
#169

tested

Looks fine to me; I'm not going to pull it into this PR since you already made one for that.

And all tests are fixed now with the latest commit.

@agladboy
Copy link

@RouganStriker Is there any chance we can get this fixing merged to the master soon.

@RouganStriker
Copy link
Contributor Author

@RouganStriker Is there any chance we can get this fixing merged to the master soon.

I need to revisit this MR, some fixes covered by this PR have been merged in via other PRs.

@RouganStriker RouganStriker changed the title Bug fixes Fix unsigned authentication request to POST endpoint Apr 21, 2020
* Fix error casting request_xml to bytes when request_xml is an object
@RouganStriker
Copy link
Contributor Author

@knaperek could you take a look at this PR?

CI checks failed since the master branch is failing as well.

@peppelinux
Copy link
Member

peppelinux commented Apr 28, 2020

I see. Py38 seems to have a different ordering on those string chunks.
Take your time, Hope to do a complete revision this week on pending PRs

@RouguanStriker I think that this is an important PR for v0.18.2, please resolve conflicts and don't worry about the concurrent PR, that's my business, do the things how you think that they should be done, we're ready for merge

@peppelinux peppelinux added this to the v0.18.2 milestone Apr 29, 2020
@mhindery
Copy link
Contributor

Regarding the failing tests (and them being disabled), this gets fixed with #186

Copy link
Member

@peppelinux peppelinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the failing tests (and them being disabled), this gets fixed with #186

Let's complete the revision on that PR, meanwhile this PR can be merged as is, just a final check by his author I think that's needed

@peppelinux peppelinux merged commit f1a7240 into IdentityPython:master Apr 30, 2020
@peppelinux
Copy link
Member

thank you @RouganStriker without your help I would not have the possibility to find this bug, I use signed authn requests

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.

When accessing /saml2/login -- TypeError: encoding without a string argument
5 participants