This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST https://www.contoso.com/adfs/services/trust/2005/usernamemixed | |
HTTP Headers: | |
SOAPAction: http://schemas.xmlsoap.org/ws/2005/trust/RST/issue | |
Content-Type: application/soap+xml | |
client-request-id: 6ca4424a-8d29-4b62-b7cb-5e44ce038af5 | |
return-client-request-id: true | |
Accept: application/json | |
// Note: replace the relevant content of the POST body below with your usernamemixed endpoint, username, and password | |
Request body: | |
<?xml version="1.0" encoding="utf-8"?> | |
<s:Envelope | |
xmlns:a="http://www.w3.org/2005/08/addressing" | |
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" | |
xmlns:s="http://www.w3.org/2003/05/soap-envelope"> | |
<s:Header> | |
<a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue</a:Action> | |
<a:messageID>urn:uuid:3c219dc1-8d82-4163-8b24-ae285c54f859</a:messageID> | |
<a:ReplyTo> | |
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> | |
</a:ReplyTo> | |
<a:To s:mustUnderstand="1">https://www.contoso.com/adfs/services/trust/2005/usernamemixed</a:To> | |
<o:Security s:mustUnderstand="1" | |
xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> | |
<o:UsernameToken u:Id="UnPwSecTok2005-0ff3ad9b-cd03-4c73-bf0a-047934e2e2ec"> | |
<o:Username>user@contoso.com</o:Username> | |
<o:Password>password</o:Password> | |
</o:UsernameToken> | |
</o:Security> | |
</s:Header> | |
<s:Body> | |
<trust:RequestSecurityToken | |
xmlns:trust="http://schemas.xmlsoap.org/ws/2005/02/trust"> | |
<wsp:AppliesTo | |
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> | |
<a:EndpointReference> | |
<a:Address>urn:federation:MicrosoftOnline</a:Address> | |
</a:EndpointReference> | |
</wsp:AppliesTo> | |
<trust:KeyType>http://schemas.xmlsoap.org/ws/2005/05/identity/NoProofKey</trust:KeyType> | |
<trust:RequestType>http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</trust:RequestType> | |
</trust:RequestSecurityToken> | |
</s:Body> | |
</s:Envelope> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment