Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW

Migrating Applications from Okta to OneLogin with Terraform

One Identity
05/08/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


TL;DR

  • Demonstrates automated migration of 14 applications from Okta to OneLogin using Ansible for extraction, Terraform for provisioning, and Spacelift for deployment orchestration
  • Ansible playbook queries Okta API to generate JSON application inventory with auto-mapped OneLogin connector IDs, requiring manual adjustment only for custom SAML applications
  • GitOps workflow uses separate branches for dev/prod environments with Spacelift stacks, enabling testing in dev before promoting to production via pull request
  • Terraform automatically provisions delegated admin roles, allowing application owners to complete connector configuration without full admin access
  • Production deployment includes manual approval gate in Spacelift, with complete audit trail of who approved changes and when they were applied

Automated Application Migration Workflow

This technical demonstration walks through an end-to-end process for migrating identity applications from Okta to OneLogin using infrastructure-as-code principles. The workflow leverages Ansible for application extraction, Terraform for provisioning, and Spacelift for deployment orchestration across development and production environments. The presenter demonstrates migrating 14 applications from an existing Okta tenant into two OneLogin instances (dev and prod), showcasing how automation eliminates manual configuration work while maintaining governance controls through GitOps workflows and approval gates.

Environment Setup and Tooling

The solution architecture uses a public GitHub repository (automation-onelogin) containing reference Terraform configurations and Ansible playbooks. Two Spacelift stacks represent the dev and prod OneLogin environments, connected to test and main branches respectively in a private repository. An Ansible playbook extracts application metadata from Okta via API and generates a JSON inventory file that feeds directly into Terraform variables. Custom attributes for applications must be pre-configured in OneLogin's admin UI before running the automation, as this step cannot currently be performed through the API.

Delegated Administration and Production Promotion

The Terraform configuration automatically provisions application access roles and delegated admin permissions, enabling technical owners to complete application-specific configurations without full admin access. In the demonstration, a user named James receives delegated admin rights for two applications, allowing him to finalize OIDC settings and other connector details. Once testing completes in the dev environment, a GitHub pull request merges the test branch to main, triggering a Spacelift deployment to production with a manual approval gate. The entire migration process—from Okta extraction to production deployment—completes in minutes with full audit trails maintained in Spacelift.

Chapters

0:00 - Introduction and Architecture Overview
2:52 - Extracting Applications from Okta
5:02 - Configuring Terraform Variables
7:57 - Initial Deployment to Dev Environment
10:27 - Adding Application Owners
13:13 - Delegated Administration Demo
14:13 - Promoting to Production
17:07 - Production Approval and Deployment

Key Quotes

0:00 "Starting, we're going to go over how we can migrate applications from an existing Okta environment into OneLogin and how to do this with Terraform."
3:59 "This will communicate to the Okta API and extract the applications that are in that environment and create the application inventory file."
7:39 "All of the custom attributes related to each application, have already been set up in the target environment here. It's not currently possible to do this through the API."
8:34 "There were 210 resources added to the target environment, so our dev environment here."
13:22 "He has been given a delegated admin role for the one login application and the reflection application as well."
17:42 "We've got then a log in Spacelift of who approved that run and when it was confirmed and all the full audit trail, which is great."

Categories:
  • » Cybersecurity » Application Security
  • » Data Management » DevOps
  • » Cybersecurity » Cloud Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Identity & Access
  • Technical Deep Dive
  • Demo
  • DevSecOps
  • Cloud Security
  • Identity and Access Management Migration
  • Infrastructure as Code
  • Terraform Automation
  • Ansible Playbooks
  • GitOps Workflows
  • Delegated Administration
  • Application Provisioning
  • CI
  • CD for IAM
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: Migrating Applications from Okta to OneLogin with Terraform

              Upcoming Webinar Calendar

              • 06/17/2026
                12:00 PM
                06/17/2026
                Action1: The Remediation Gap: Vulnerability Management in the Age of AI
                https://www.truthinit.com/index.php/channel/2010/action1-the-remediation-gap-vulnerability-management-in-the-age-of-ai/
              • 06/23/2026
                01:00 PM
                06/23/2026
                The AI-Powered VMware Alternative
                https://www.truthinit.com/index.php/channel/2009/the-ai-powered-vmware-alternative/
              • 06/24/2026
                11:00 AM
                06/24/2026
                LATAM: Accelerating Insights on AI Through an Engaging Webinar Series
                https://www.truthinit.com/index.php/channel/2012/accelerating-insights-on-ai-through-an-engaging-webinar-series/
              • 06/25/2026
                01:00 PM
                06/25/2026
                Generative AI Security: Preventing AI from Becoming a Data Breach Multiplier
                https://www.truthinit.com/index.php/channel/1998/generative-ai-security-preventing-ai-from-becoming-a-data-breach-multiplier/
              • 07/01/2026
                04:00 AM
                07/01/2026
                Schutz von KI in Anwendungen, Agenten und APIs.
                https://www.truthinit.com/index.php/channel/2008/schutz-von-ki-in-anwendungen-agenten-und-apis/
              • 07/02/2026
                10:00 AM
                07/02/2026
                Resilience Insights from Hybrid Threats When the Cloud Faces Challenges
                https://www.truthinit.com/index.php/channel/2011/resilience-insights-from-hybrid-threats-when-the-cloud-faces-challenges/

              Upcoming Events

              • Jun
                17

                Action1: The Remediation Gap: Vulnerability Management in the Age of AI

                06/17/202612:00 PM ET
                • Jun
                  23

                  The AI-Powered VMware Alternative

                  06/23/202601:00 PM ET
                  • Jun
                    24

                    LATAM: Accelerating Insights on AI Through an Engaging Webinar Series

                    06/24/202611:00 AM ET
                    • Jun
                      25

                      Generative AI Security: Preventing AI from Becoming a Data Breach Multiplier

                      06/25/202601:00 PM ET
                      • Jul
                        01

                        Schutz von KI in Anwendungen, Agenten und APIs.

                        07/01/202604:00 AM ET
                        More events
                        Truth in IT
                        • Sponsor
                        • About Us
                        • Terms of Service
                        • Privacy Policy
                        • Contact Us
                        • Preference Management
                        Desktop version
                        Standard version