Blazor WASM authentication failing

136 Views Asked by At

I have a Blazor WASM application with authentication. Been running it for months on end. When developing it using Visual Studio it runs on port 7088. There are two App Registrations in our Azure tenant (MyApp and MyApp-Client) and their authentication Tabs have the following URL:

https://localhost:7088/signin-oidc

I also publish this application to another "production" server and that server's URLs is also here too.

The published application still works perfectly, but today (could have been anytime over the last week I guess as I've not run it locally) the authentication fails from my local machine.

The error in the browser is for a call to https://localhost:7088/authentication/login-callback which has a status of (canceled) in the browser developer tools. The authentication window that pops up says "localhost refused to connect".

Not really sure on how to dig into this further....

0

There are 0 best solutions below