Gateway institution configuration is not always present
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- php
- Domain
- authentication, backend
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.
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.
- Dominant language
- PHP
- Stars
- 3
- Forks
- 3
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from OpenConext/Stepup-Middleware
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
OpenConext/Stepup-Middleware#637 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
OpenConext/Stepup-Middleware#607 ·
-
logging
Difficulty 3/5 1-2 days Newbie friendliness 35/100
OpenConext/Stepup-Middleware#582 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
OpenConext/Stepup-Middleware#559 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenConext/Stepup-Middleware#537 ·
All issues in OpenConext/Stepup-Middleware
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day