Generating tokens in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Generating tokens in c#

So if you are trying to connect to azure api to grab info how to authenticate using a token against httpclient?

18th Feb 2019, 3:00 AM
Xajuan Smith
Xajuan Smith - avatar
1 Answer
+ 1
Hi Xajuan, You need to use the Azure AD App Registration with the redirect to the Microsoft login in order to get a token to use for your api. The authentication can be done by the client is and client secret (plus tenant id) of your app.
27th Sep 2019, 8:55 PM
Gabriele Marra
Gabriele Marra - avatar