Jason Alexander
Build looking for project as a package name.
Turned out to be something up with the repos configuration, it got patched thankfully https://github.com/AzureAD/microsoft-identity-web/issues/2579
3 replies
❔ OAuth2 behind a reverse proxy won't work without UseAuthentication.
Yeah it seems to be the case accross browsers and devices, and I only just realised I accidently created this thing with .NET 8 by a mistake, I'll try the same in NET 7, looks like I may have found a weird quirk of .NET 8
23 replies
❔ OAuth2 behind a reverse proxy won't work without UseAuthentication.
It seems if you don't at least have the forwarding header middleware setup for XForwardedProto then it will use the wrong protocol for the callback URL, further in the actual config for setting up the authentication options I can only find configuration relating to path and not the further URL or protocol; but I have at least got a working example of an oauth2 app working behind a proxy, the fact that I needed the forward headers middleware does make sense to me, but what doesn't is why it also needs the authentication middleware when running it directly does not
23 replies