Replies: 1 comment 1 reply
-
I don't think this should be in AZD. We can automatically set this in aspire for .NET projects. Can you open an issue on http://github.com/dotnet/aspire |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm in the process of getting the deployment of an aspire application working and one thing I hit was that authentication wasn't working with OIDC, the redirect url it was sending was http rather than https. I've used 'azd infra synth' to generate bicep and yaml files for the project.
There's an environment variable for .NET apps in container environments: ASPNETCORE_FORWARDEDHEADERS_ENABLED which needs to be set to true for external web apps in container environments for things like OIDC to work (link).
Maybe this would be a sensible thing to include by default? Unless this is something that would make more sense as a default in Aspire i.e. I think you can do this in there by putting:
For example, but maybe it should do that under the skin? If so, I'll post this suggestion under the aspire repo.
Beta Was this translation helpful? Give feedback.
All reactions