POST /saml/{provider_id}/acs
接收SAML IdP的断言响应,验证并返回访问令牌
SAML None application/x-www-form-urlencoded
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
provider_id |
path |
string |
Yes |
|
|
|
SAML IdP ID |
SAMLResponse |
formData |
string |
Yes |
|
|
|
Base64编码的SAML响应 |
RelayState |
formData |
string |
No |
|
|
|
RelayState |
Referenced Schemas
dto.SAMLTokenDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.SAMLTokenResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.SAMLTokenResponse
| Field | Type | Required | Example | Constraints | Description |
access_token |
string |
No |
|
|
|
expires_in |
integer |
No |
3600 |
|
|
relay_state |
string |
No |
|
|
|
token_type |
string |
No |
Bearer |
|
|