Update Attribute Mapping
Map external attributes to internal user fields.
Endpoint
POST /api/v1/sso/attribute-mapping
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Request Body
{
"provider_id": 1,
"mappings": {
"email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
"name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
}
}
Response
Success (200)
{
"success": true,
"data": {
"message": "Attribute mapping updated successfully"
},
"message": "Attribute mapping updated successfully"
}
Features
- Attribute mapping
- Transformation rules
- Validation
Status
[WARNING] TODO: Not Implemented
This endpoint is defined in the router but the implementation logic is not yet complete.