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.
https://auth.example.com 请换成你的 Casdoor 地址(Casdoor 云上类似 https://acme.casdoor.com),其他 example.com 地址也换成你自己的。用 Casdoor 配置 Okta Migration
- 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
Install Okta Migration
On the Marketplace page of Casdoor, install Okta Migration into the organization the Okta org goes to.
- 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.
Host your-org.okta.com - 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
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.
更多提供商
查看全部Authelia
OAuth 提供商让用户通过 Authelia 用 OpenID Connect 登录 Casdoor:包括提供商配置,以及要加到 Authelia 配置里的客户端。
authentik
OAuth 提供商让用户用 authentik 账号通过 OpenID Connect 登录 Casdoor:包括提供商配置,以及要在 authentik 里创建的应用和 OAuth2 提供商。

超星学习通
OAuth 提供商让师生用超星学习通账号登录 Casdoor:按超星微服务开放平台的 OAuth 接口填好了授权、换取 access_token 和获取用户信息的地址。
