Okta syncer
The Okta syncer pulls users from your Okta organization into Casdoor using the Okta Users API. It handles pagination automatically and maps account status to Casdoor's IsForbidden flag.
前提条件
In the Okta Admin Console, create an API token (Security → API → Tokens → Create Token). The token needs read access to users.
Note your Okta domain (e.g. https://your-org.okta.com).
設定
Create a new syncer in Casdoor (Syncers → Add) and fill in:
| フィールド | 値 |
|---|---|
| 組織 | Target Casdoor organization |
| Name | A unique name for this syncer |
| Type | Okta |
| Server URL | Your Okta domain (e.g. https://your-org.okta.com) |
| Password | Your Okta API token |
The database-related fields are not used and can be left empty.
Field mappings
| Okta field | Casdoor field | Notes |
|---|---|---|
id | Id | Okta user ID |
profile.login | 名前 | Username (usually email) |
profile.displayName | DisplayName | Full display name |
profile.firstName | FirstName | Given name |
profile.lastName | LastName | Family name |
profile.email | メールアドレス | Primary email |
profile.mobilePhone | 電話 | Mobile number |
profile.title | タイトル | Job title |
profile.preferredLanguage | 言語 | Preferred language |
状態 | IsForbidden | See status mapping below |