A AuthMS API Wiki API Reference iam.tianv.com →

POST /saml/{provider_id}/acs

接收SAML IdP的断言响应,验证并返回访问令牌

SAML None application/x-www-form-urlencoded

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
provider_id path string Yes SAML IdP ID
SAMLResponse formData string Yes Base64编码的SAML响应
RelayState formData string No RelayState

Responses

StatusDescriptionSchema
200OKdto.SAMLTokenDetailResponse

Referenced Schemas

dto.SAMLTokenDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.SAMLTokenResponse No
message string No
timestamp string No

dto.SAMLTokenResponse

FieldTypeRequiredExampleConstraintsDescription
access_token string No
expires_in integer No 3600
relay_state string No
token_type string No Bearer