Liero
Liero

Reputation: 27348

How to use multiple authentication schemes in Azure Functions

I have an Azure Functions app and in Azure Portal I have configured Easy Auth -> Azure Active Directory.

The requirement is, that the API must support both AAD and some custom JWT Authentication, so that the consumer can Authenticate either using AAD or JWT.

How can I support multiple authentication mechanisms in Azure Functions?

Upvotes: 2

Views: 488

Answers (1)

Thiago Custodio
Thiago Custodio

Reputation: 18387

As Easy Auth is actually an IIS module, I believe you'll need to receive the token in your Azure Function and programatically validate against the support providers.

Upvotes: 0

Related Questions