Hi ,
We recently created a project in Blazor/Client-side(WebAssembly)/.NET 5 with authentication, on localhost it works fine, mas em Server com PWA, e apenas PWA selecionado, ele fica voltando sempre para o login sem erros na interface. Só erros na consola(we have https configured on the server). If we remove the PWA it works
It also says it's a CORS error, but it isn't.
Console Erros:
1- Login:26 Uncaught TypeError: Cannot read property 'register' of undefined
at Login:26
(anonymous) @ Login:26
the Line is " "
2 - Login:1 Access to XMLHttpRequest at 'https://xpto/.well-known/openid-configuration' from origin 'http://xpto' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
3 - AuthenticationService.js:1 GET https://xpto/.well-known/openid-configuration net::ERR_FAILED