External system login does not work when publishing Blazor WASM to Azure #29094
Unanswered
maxim-shlain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
When I publish my simple .net 5 blazor web assembly to Azure app service, the external login stops working. Please advise.
Details:
Business requirement
Allow users to login to my system without creating account - login with Google, Microsoft, Facebook etc.
I've built a really simple system using .NET 5 Blazor WASM application with VS2019, 'Individual Accounts' as authentication type, configured for HTTPS, hosted by ASP.NET Core and marked 'Progressive Web Application':

After that, i've installed the packages
And configured my keys as described in MSFT documentation:
When I run the app on my dev machine, everything works fine, external login works fine in edge and chrome - as expected
The Problem
When I deploy my system to Azure App service (with secrets configured properly), the system starts and works almost fine. When I try to log in with external user, I'm getting following screen (mind the URL):
The only log error record that I can connect with the problem is attached below, but I cannot find any actionable fix , please help
Beta Was this translation helpful? Give feedback.
All reactions