trying to plan validating azure ad token and calling graph api in azure function
I need to validate the token generated by Azure AD in Azure Fuction.
I need to use a client credential flow in azure Functoin to get the token to call Graph api to manage the user.
Here are the questions.
I need to use a client credential flow in azure Functoin to get the token to call Graph api to manage the user.
Here are the questions.
- In Azure function, there is no built in Authorize so I need to build a middleware to validate token. Any other ideas?
- I can't find the sample code in Azure function to get secrets from keyvault and to get the token. Do you guys know any sample code?