Also, Can we deploy and run app on IIS with http?
we need to pass the correct values for clientId and client secret also else it throws above error. So there is no option to remove these settings from appsetting?
I removed the Azure AD credentials from appsettings.json file and set the values for Tenant using UI.
I am getting the error which I mentioned in the previous comment with screenshot.
Can you please try that and let me know?
First remove the Azure Open Id credentials from host and just checked Enable checkbox.
Make sure Tenant have the credentials that I shared and check.
Ok it is working if i add the credentials for Host as well. If i just enable the provider then override value for Tenant then I am getting an error.
What if I do not set credentials for host and add for Tenant only?
My github account is https://github.com/alpeshkalena
Also do we need to set same credentials for Host and Tenant?
I have just enabled the Azure Open Id configuration from host and override in Tenant Tenant Configurations Authority : https://login.microsoftonline.com/b9eb6473-28b2-46c1-9f80-c90c9298253b ClientId : aa3735b8-1b81-43b4-a38c-7b454ae4bb87 ClientSecret : wvG8Q~le8BW0EX-FdHsaGtUQ7ZHPxJBkMdAgva9s
If you need then you can use same credentials for host as well.