Identity migration
Supplementary material from my bachelor’s thesis, covering only part of its technical work: a staged migration from Okta to Microsoft Entra ID, with both providers supported during the transition.
Overview
- Type
- Bachelor’s thesis
- Field
- Identity systems
- Stack
- Python, Flask, Entra ID, Jenkins
- Flow
- Okta → Dual-provider Flask app → Microsoft Entra ID
Notes
The problem
Replacing an identity provider affects both application sign-in and the users and groups behind it. The thesis separates those problems so the transition can be examined one stage at a time.
A dual-run transition
The okta branch contains the initial Flask integration. The dual_run branch supports both identity providers, and the entraid branch captures the final implementation. This makes the intermediate state available for inspection rather than hiding it in a final snapshot.
Moving identity data
Separate Python connectors extract, transform and load user and group records. The repository includes encrypted example responses and demonstrations of the transformations.
Repeatable demonstrations
Two Jenkins pipelines deploy and stop the Flask application on a VM. Recorded walkthroughs cover login, attribute changes, connector output and the pipelines. These are academic demonstrations rather than a public production service.
A note on exposed secrets
The repository deliberately keeps secrets and data in plain view so the whole process can be followed end to end. None of them work any more: the credentials and tenants they belong to are obsolete.