Casdoor集成市场

Okta Migration | 提供商

Move an Okta org to Casdoor

Casdoor reads the org through the Okta API with an API token and previews what would be added before applying it. Users keep their Okta user IDs, which are the sub of their tokens, and their profiles; groups keep their members; OpenID Connect applications keep their client IDs and secrets. Okta never exports password hashes, so on each user's first sign-in Casdoor checks the password with Okta and then stores it: keep Okta running until your users have signed in.

Casdoor 官方核验OktaMigrationImport
你需要一个正在运行的 Casdoor,自己部署或用 Casdoor 云都可以。示例中的 https://auth.example.com 请换成你的 Casdoor 地址(Casdoor 云上类似 https://acme.casdoor.com),其他 example.com 地址也换成你自己的。

用 Casdoor 配置 Okta Migration

  1. 1

    Create an API token

    In the Okta Admin Console, go to Security > API > Tokens and click Create token. Create it as a super admin, or as an admin who can read users, groups and applications: only a super admin's token returns the client secrets of the applications. Copy the token.

  2. 2

    Install Okta Migration

    On the Marketplace page of Casdoor, install Okta Migration into the organization the Okta org goes to.

  3. 3

    Create the migration

    Under Admin > Migrations, add a migration in that organization, choose Okta Migration as the action, set the host to the domain of the Okta org and the client secret to the API token. Leave the client ID empty.

    Hostyour-org.okta.com
  4. 4

    Preview and apply

    Click Test connection and Preview to see what would be added and what can't be imported, then Apply. Applying again later only adds what is new, and Undo deletes everything the migration added.

  5. 5

    Switch the applications

    Point the applications' issuer, or the discovery URL, at Casdoor, keeping their client IDs and secrets. Keep the Okta org and the migration until the users have signed in to Casdoor once, because their passwords are checked with Okta until then.

注意事项

  • Users are named after their Okta login, which is often their email, and sign in with it as before.
  • Users who sign in to Okta through Active Directory or LDAP keep their passwords too, as long as Okta can still reach the directory.
  • Okta doesn't export its signing keys or MFA factors: users sign in again after the switch, and those with MFA enroll again.

Okta Migration 的设置取自它的官方文档(核对于 2026年11月:Okta API: users、Okta: create an API token)。Okta Migration 是其所有者的商标。

常见问题

Which hosts does the action send requests to?

Only the Okta org set as the host: the Okta API with the API token, and the authentication API when it checks a password on a user's first sign-in.

What happens to users who don't sign in before Okta is shut down?

Their passwords can't be checked anymore, so they reset their passwords in Casdoor.