Identity Bridge
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/identity-bridge/stats/ |
Get Identity Bridge statistics |
| POST | /api/identity-bridge/ |
Push user attributes from an ISD |
| POST | /api/identity-bridge/remove/ |
Remove a user from an ISD |
Get Identity Bridge statistics
Returns system-wide statistics about the Identity Bridge: feature configuration, per-ISD user counts, stale attribute detection, and total federated user counts. Staff only.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
identity_bridge_stats_retrieve
1 2 3 4 5 6 7 8 9 10 | |
200 -
| Field | Type |
|---|---|
enabled |
boolean |
deactivation_policy |
string |
allowed_attributes |
array of strings |
total_federated_users |
integer |
total_active_federated_users |
integer |
users_per_isd |
array of objects |
users_per_isd.isd |
string |
users_per_isd.user_count |
integer |
users_per_isd.stale_user_count |
integer |
users_per_isd.oldest_sync |
string |
stale_threshold_days |
integer |
identity_managers |
array of objects |
identity_managers.uuid |
string (uuid) |
identity_managers.full_name |
string |
identity_managers.managed_isds |
array of strings |
Push user attributes from an ISD
Allows Identity Service Domains (ISDs) to push user attributes to Waldur. Creates or updates a user based on username (CUID). Requires FEDERATED_IDENTITY_SYNC_ENABLED to be True. Caller must be staff or an identity manager with the declared source in managed_isds.
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
IdentityBridgeRequestRequest - API Source:
identity_bridge
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
| Field | Type | Required | Description |
|---|---|---|---|
username |
string | ✓ | CUID / username of the user to create or update. |
source |
string | ✓ | ISD source identifier, e.g. 'isd:puhuri'. Must match ^[a-z]+:[a-zA-Z0-9._-]+$. |
first_name |
string | ||
last_name |
string | ||
email |
string (email) | ||
organization |
string | ||
affiliations |
array of strings | ||
civil_number |
string | ||
phone_number |
string | ||
identity_source |
string | ||
gender |
integer | ||
personal_title |
string | ||
birth_date |
string (date) | ||
place_of_birth |
string | ||
country_of_residence |
string | ||
nationality |
string | ||
nationalities |
array of strings | ||
organization_country |
string | ||
organization_type |
string | ||
eduperson_assurance |
array of strings |
200 -
| Field | Type |
|---|---|
uuid |
string (uuid) |
created |
boolean |
updated_fields |
array of strings |
Remove a user from an ISD
Signals that a user has been removed from an ISD. Removes the source from active_isds, clears attributes owned by that source, and deactivates the user if no ISDs remain (configurable via FEDERATED_IDENTITY_DEACTIVATION_POLICY). Requires FEDERATED_IDENTITY_SYNC_ENABLED to be True. Caller must be staff or an identity manager with the declared source in managed_isds.
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
IdentityBridgeRemoveRequest - API Source:
identity_bridge_remove
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
| Field | Type | Required | Description |
|---|---|---|---|
username |
string | ✓ | CUID / username of the user to remove from the ISD. |
source |
string | ✓ | ISD source identifier, e.g. 'isd:puhuri'. Must match ^[a-z]+:[a-zA-Z0-9._-]+$. |
200 -
| Field | Type |
|---|---|
uuid |
string (uuid) |
deactivated |
boolean |