blazor-wasm-boilerplate
blazor-wasm-boilerplate copied to clipboard
"TypeError: Failed to fetch" error
I created a new project with the template, tried to log in using admin and got an error: "TypeError: Failed to fetch".
likely u Host WedAPI not listening on port https port 5001 try Client\wwwroot\appsettings.json "ApiBaseUrl": "http://localhost:5000/",
{ //"ApiBaseUrl": "https://localhost:5001/", "ApiBaseUrl": "http://localhost:5000/", "AuthProvider": "Jwt", "AzureAd": { "Authority": "https://login.microsoftonline.com/organizations", "ClientId": "<Client (Application) Id of your client app registered in Azure>", "ValidateAuthority": true, "ApiScope": "api://<Client (Application) Id of you server app registered in Azure>/access_as_user" } }