I was implementing google authenticator feature on my Blazor web assembly POC demo. I was getting this exception
There was an error trying to log you in: ‘Invalid response Content-Type: text/html, from URL: https:login.microsoftonline.com/.well-known/openid-configuration’
My program.cs file was like

My appsettings.json file was like this

Workaround fix for this
>> change any name expect Local. You can give google or any other name. I hope it will help other developer.