Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

App Service Authentication with multiple identity providers causing slow HTTP request performance

Open skefex opened this issue 2 years ago • 2 comments

We are running a function app (consumption plan) with app service authentication enabled. Adding one identity provider does not decrease HTTP request performance. Adding a second identity provider decreases request performance from about 100 ms to 1s-2s. We are using two OpenID Connect configurations against a Azure B2C directory and a Azure Active directory, by passing the OpenID Connect metadata document endpoint. Deleting one of the identity providers increases the request performance.

The App Service Authentication with these configurations work like expected, but is causing a bad request response time.

skefex avatar Jul 01 '22 07:07 skefex

Hi @skefex Thank you for the feedback, we will discuss this issue internally and let you know about the findings soon!

Ved2806 avatar Jul 18 '22 10:07 Ved2806

Hi @AnatoliB Could you please help with issue?

Ved2806 avatar Aug 01 '22 15:08 Ved2806