-
Notifications
You must be signed in to change notification settings - Fork 26
Feature: Add SRAM integration #1819
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
base: main
Are you sure you want to change the base?
Conversation
7f78ee5 to
246205b
Compare
b6f27bf to
228cdb0
Compare
68b8c60 to
da272f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an initial review mainly focusing on the code. This feature however should be thoroughly reviewed functionally before it's merged back and after all open todo's are addressed.
src/OpenConext/EngineBlockFunctionalTestingBundle/Features/Discoveries.feature
Show resolved
Hide resolved
app/config/parameters.yml.dist
Outdated
| feature_enable_consent: true | ||
| feature_stepup_sfo_override_engine_entityid: false | ||
| feature_enable_idp_initiated_flow: true | ||
| feature_enable_sram_interrupt: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be the default?
src/OpenConext/EngineBlockFunctionalTestingBundle/Features/SbsFlowIntegration.feature
Show resolved
Hide resolved
|
Ik ben aan het testen, maar loop tegen deze conditie aan in SRAMTestFilter: Hoe krijg ik die in manage, onder welke versie van manage (ik draai nu 9.0.0.1)? |
|
Manage collabEnabled() problem has been solved. However, EB now gives me a "Session Lost" on returning to https://engine.dev.openconext.local/authentication/idp/process-sraminterrupt?ID=... I suggest you use the SBS stub server that was originally included in my branch to test your redirects: |
The mock SBS does/should not need or rely on any session state. It receives the When testing, does the |
|
Yes, the ?ID= parameter contains everything in the original continue_url. EngineBlock fails to continue on the contents of this continue_url. That's the bug. I would advice against testing this against an internal EB redirect but externalising, like this will be done in the real deploy. |
ae05ebe to
6eccd69
Compare
612494e to
157ebdb
Compare
Prior to this change, the test still assumed the entitlements call was used. This change adjusts the test to prime the sbs functional test endpoint for multiple calls on the authz endpoint instead.
4b1347a to
3d2cb21
Compare
3d2cb21 to
49c5eaf
Compare
264f496 to
6aa50ac
Compare
6aa50ac to
df1777a
Compare
List of things to discuss before this can be merged:
* Continue to Consent/StepUpinlibrary/EngineBlock/Corto/Module/Service/SRAMInterrupt.phpis largely duplicated, but not 100%. I'm concerned this code has many scenario's that are tested via AssertionConsumer.php. The duplicated code here has no such coverage. So we should probably centralize it. But how?tests/unit/OpenConext/EngineBlockBundle/Sbs/SbsAttributeMergerTest.php