Work / CS-03
Rolling out multi-factor authentication across five applications
- Year
- 2026
- Where
- High Speed Training
- Themes
- Security
- Stack
- C#, Duende IdentityServer, OIDC, ASP.NET Core, Angular, Playwright/NUnit release tests
Result, up front
- 5applications, MFA fully enforced
- 3policy levels: company, department, learner
- 1authorisation gap found and fixed on the way
Situation
The platform needed multi-factor authentication (MFA): learners, business managers, admins and the content-authoring tool all needed it, and they all sit on one identity server.
How I framed it
MFA isn’t one feature. It’s sign-in, recovery, policy and enforcement, and every app that trusts the identity server has to enforce it, not just display it.
What I did
- Built authenticator-app sign-in and recovery-code sign-in on the identity server.
- Designed account recovery by email: a new recovery address, set-up and skip flows, emails, and the rules for users who registered before MFA existed.
- Built MFA policies at company, department and learner level and enforced them.
- Ran a spike (a short, time-boxed investigation) on using OIDC to enforce MFA for privileged users, then built it across the manager portal, the account app and the authoring tool’s API, which fails closed if configuration is missing.
- Built a sign-in step that sends privileged users without MFA through enrolment while keeping the link they were heading to.
- Added release tests for enforcement across apps, then removed the rollout toggles once it was fully live.
- While reviewing how each app trusted the identity server, found and reported an authorisation gap in an internal API that the rollout hadn’t covered. It was fixed.
Result
MFA shipped end to end across five applications and is fully enforced. I presented the enrolment design at an internal tech showcase.
What I took away
In security work, “done” means every place that trusts the decision actually checks it. The audit at the end mattered as much as the build.