Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: Failed to fetch" error #266

Open
Tony20221 opened this issue May 8, 2023 · 1 comment
Open

"TypeError: Failed to fetch" error #266

Tony20221 opened this issue May 8, 2023 · 1 comment

Comments

@Tony20221
Copy link

I created a new project with the template, tried to log in using admin and got an error:
"TypeError: Failed to fetch".

@Bizwiz-sg
Copy link

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"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants