Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

#2: Getting Authentication Token from Windows Azure AD using HttpClient

$
0
0

Through the article "Getting Authentication Token from Windows Azure AD for accessing Graph Service" sample", and some pointers from Srikanth, I leard how to get an authentication token (JWT) from AAD. However, this token is created from using ClientId & Secret only. What I'd like to do is to get a user token, using user name and password (perhaps together with clientId and secret).

I suppose I need to update the data posted to the service:

grant_type=client_credentials&resource=[SOME URI]&client_id[CLIENTID]&client_secret=[SECRET]


If this answers your question, please use the "Answer" button to say so... Mikael - http://blogical.se/blogs/mikael


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>