根据官方文档,Auth0支持基于SOAP的绑定。在SAML配置中,需要添加"wstrust"选项来启用基于SOAP的绑定。以下是一个示例配置:
{
"name": "My SAML integration",
"description": "Integration with My Identity Provider using SAML",
"enabled": true,
"settings": {
"acs": "https://myapp.auth0.com/login/callback",
"audience": "urn:myapp:production",
"mappings": {
"email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
"name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
},
"wstrust": {
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDBzCCAe+..."
}
}
}
在配置中,"wstrust"选项指定了用于基于SOAP的绑定的证书。注意,如果使用基于SOAP的绑定,则需要在Identity Provider端配置相应的服务来处理SOAP请求和响应。
参考链接:https://auth0.com/docs/protocols/saml/saml-configuration-options#soap-binding-with-wstrust
上一篇:Auth0社交登录角色分配
下一篇:Auth0实现未填充