Propagate Symfony responses throughout the code#1760
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1760 +/- ##
============================================
+ Coverage 44.67% 45.37% +0.69%
- Complexity 3697 3710 +13
============================================
Files 162 162
Lines 12359 12407 +48
============================================
+ Hits 5522 5630 +108
+ Misses 6837 6777 -60 |
164c168 to
94dc48b
Compare
thijskh
left a comment
There was a problem hiding this comment.
Definitely a good cleanup. Does touch a lot of things so may require intensive testing though.
0740595 to
b955a4f
Compare
|
This is about as much as I can do right now.. If we want to take the next step, we also have to update the saml2-lib bindings to return a Symfony-response in their ::send() methods. |
5476d01 to
a3df9d1
Compare
| * @param array &$state Information about the current authentication. | ||
| */ | ||
| public static function completeAuth(array &$state): void | ||
| public static function completeAuth(array &$state): Response |
There was a problem hiding this comment.
Side-quest: should we change the signature to non-static & protected, since all calls to this are made by child-classes?
dd713cc to
fb54ee5
Compare
5bb3659 to
7e6527e
Compare
e53f5d2 to
47cffb7
Compare
|
I thoroughly tested this PR in conjunction with a new version of the saml2-lib.
@thijskh OK to merge? |
|
I'd recommend a 'yes' to thijskh :-D |
|
I haven't been able to look closely into everything, but this kind of development is indeed a massive improvement! 👏 |
3f79544 to
7204202
Compare
This PR is far from complete, but it's big enough to review as it is already. Consider this a first batch.
I've verified that basic SP/IDP redirections still work.