Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST https://login.microsoftonline.com/{my tenant id}/oauth2/token HTTP/1.1
- Content-Type: application/x-www-form-urlencoded
- return-client-request-id: true
- x-client-SKU: .NET
- x-client-Ver: 2.14.0.0
- x-client-CPU: x64
- x-client-OS: Microsoft Windows NT 6.2.9200.0
- x-client-last-response-time: 239
- x-client-last-endpoint: user_realm
- Host: login.microsoftonline.com
- Content-Length: 173
- Expect: 100-continue
- resource={my web app uri id}&client_id={my native client app id}&grant_type=password&username={my username}&password={my password}&scope=openid
- POST https://login.microsoftonline.com/{my tenant id}/oauth2/token HTTP/1.1
- Content-Type: application/x-www-form-urlencoded
- return-client-request-id: true
- x-client-SKU: .NET
- x-client-Ver: 2.14.0.0
- x-client-CPU: x64
- x-client-OS: Microsoft Windows NT 6.2.9200.0
- x-client-last-response-time: 239
- x-client-last-endpoint: user_realm
- Host: login.microsoftonline.com
- Content-Length: 173
- Expect: 100-continue
- resource={some resource that requires authentication}&client_id={my web app id}&grant_type=password&username={my username}&password={my password}&scope=openid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement