Search code examples
azureazure-functionsazure-deployment-slots

Azure Function Identity Providers and Deployment Slots


I'm using an openid connect identity provider with an azure function. I'm looking to add a deployment slot for dev, with the current endpoint being used for production. Dev and production will obviously have two separate endpoints. The identity provider requires a callback url to redirect the user back to after deploying. However, in the portal, the identity providers seem to be for the whole azure function and not per deployment slot. Can we not use openid connect identity providers when using deployment slots?


Solution

  • It seems it's a UI issue. If you go into "deployment slots" and select a different slot, when you click the config tab, the settings apply to that tab. Same for auth. It's just not very clear from the interface.