-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting Azure function with Auth produces error #16
Comments
@klyse that problem might be caused by the Azure Functions (in-process) runtime removing assemblies that have the same names as assemblies used by the run-time. I think that can affect dependent assemblies too. You might try adding the following to a <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> That tells the Azure Functions runtime to preserve all assemblies used by the function app even if they have the same name as assemblies used in the run-time. An alternative to using There is a list of assemblies that the functions run-time uses. That list is maintained at: See at: |
I ended up writing a blog post about |
Just tried this. Works as expected. Thanks @bryanknox 😄 |
This is my csproj file containing this nuget:
AzureFunctions.Extensions.OpenIDConnect
.Startup code:
As soon as I start this it produces an error:
I tried installing different versions of
Microsoft.IdentityModel.Protocols.OpenIdConnect
andMicrosoft.IdentityModel.Protocols.WsFederation
but that did not help.The text was updated successfully, but these errors were encountered: