OpenConext / OpenConext/Stepup-Middleware
Gateway institution configuration is not always present
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3
- Forks
- 2
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
This issue is imported from pivotal - Originaly created at Aug 15, 2023 by Michiel Kodde
Scenario
Given: the SSO on 2FA feature is installed on an existing installation.
And: I run the migration that creates the Gateway projection schema
And: I configure one of the institutions to use SSO on 2FA
Then: the gateway institution configuration should be updated to reflect the configuration value
Problem
However: the projector does not create the projection row if it does not exist yet.
Solution
The best solution would be to run an event replay. Ensuring all institutions are present in the GW institution configuration projection.
The next best solution is to make the projector aware of the possibility, an institution is not yet projected. And let it create the row on the fly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the gateway institution configuration projector, the migration that creates its projection schema, and the event replay entry point. Trace what happens for an existing institution configured for SSO on 2FA when no projection row exists; done when the projection row and configuration are updated after migration and configuration processing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100