Guest User

Untitled

a guest
Jan 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. https://login.microsoftonline.com/{tenant}/oauth2/authorize?
  2. client_id=<client-id-value>
  3. &response_type=code
  4. &redirect_uri=<redirect-uri-value>
  5. &response_mode=query
  6. &resource=https%3A%2F%2Fgraph.microsoft.com
  7. &state=12345
  8.  
  9. POST /{tenant}/oauth2/token HTTP/1.1
  10. Host: https://login.microsoftonline.com
  11. Content-Type: application/x-www-form-urlencoded
  12. grant_type=authorization_code
  13. &client_id=<client-id-value>
  14. &code=<code-value>
  15. &redirect_uri=<redirect-uri-value>
  16. &resource=https%3A%2F%2Fgraph.microsoft.com
  17. &client_secret=<key-value>
Add Comment
Please, Sign In to add comment