I am writing an http trigger azure function which validates a Json and stores it in a Database. Multiple clients(other servers)call this function. Azure function app provides different authorization levels(function, admin) which issues one password which can be used by all the clients and secure the function app. I would like to know if we can issue different passwords for different clients or implement authorization protocols like Oauth or similar for more security.
Here is an authentication way for you to refer, you could try to configure Authentication / Authorization
in the Platform features in your function app.
You could follow the steps below.
Authorization level
to Anonymous
.2.Got to Authentication / Authorization
, in this scenario, for example, I configure it with Log in with Azure Active Directory
and Save the configuration, refer to the screenshot.
3.Then go to the Azure Active Directory in the portal, you could find your app registration.
4.Configure the homepage
in the Manifest with your Httptrigger URL (you could get it with </> Get function URL
in your Httptrigger), save the manifest.
5.Try to log in the HttpTrigger with the url like https://yourfunction.azurewebsites.net/api/yourhttptrigger?xxxxx
in the browser, it will redirect to the AAD login page, use the AAD account to log in, then could see your HttpTrigger.
For more details, refer to this article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With