دنبال کننده ها

۱۳۹۷ فروردین ۲۰, دوشنبه

How to retrieve Azure Active Directory Settings Key value from Angular 5

[ad_1]



I've added a key in the API ACCESS section of Azure Active Directory (Navigate to Azure Active Directory -> App registrations -> click on app name -> Settings -> Keys). It has a description of myappToken with an expiration 2 years from now and a hidden value.



I'm connecting to Azure Active directory using adal and Adal5Service in my Angular 5 application. I get a lot of information back from the login including clientId, loginResource, tenant, user information (name, id, token, exp, etc), but I don't see the myappToken in the return anywhere. Is there a way to retrieve this? Is there a different way to add additional information to Azure Active Directory that I want to return to my application (ie: api keys, secrets, additional user information)?




[ad_2]

لینک منبع