I have successfully setup OpenID Connect Authentication for an App Service through the Azure Portal, but I have trouble doing so through a Bicep script.
Has anyone have success doing so?
I’ve tried following authsettingsv2, but I cannot figure out how the customOpenIdConnectProviders
should be configured.
It is for authentication against Identity Server, if that helps .
2
Answers
After a whole lot of digging througout the night, I found this description how the
customopenidconnectprovider
should be constructed.So I ended up with a module containing these bicep resources:
I am not sure if this is the best way to do it, but it works for our usage at least.
It seems that we did not find detailed information abount
customOpenIdConnectProviders
from the bicep template document, but we can achieve it following below steps:OpenID Connect
in app Authencation