Replies: 1 comment
-
See #290 |
Beta Was this translation helpful? Give feedback.
0 replies
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? I can do it like this:
But maybe it should do that under the skin automatically?
Beta Was this translation helpful? Give feedback.
All reactions