i updated the database but the problem is with the user i fix it but right now. I have another one and I added a new questions
Failed to load API definition. Fetch errorNot Found /swagger/v1/swagger.json
I'm trying to deploy my application to iis but I changed the hostname i got this problem Even if I'm deploying my application to server not web server I got the same issue so I need help
If you're creating a bug/problem report, please include followings:
when I'm trying to deploy my project on the server i got this problem Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
If you're creating a bug/problem report, please include followings:
i don't know why that's problem happened with me I didn't make any change except the the db but I made update db on the cli and i made run for dbmigrator this is the last time happened before multiple days so help please to solve this situation
If you're working on localhost, please check your IdentityServerDataSeedContributor.cs class before running DbMigrator. That class is placed under IdentityServer folder under Domain project by default. All Clients are defined there and they're seeded to run your app properly at the initial state.
Make sure the following code block exits and blazor URL is configured properly in
appsettings.json
of DbMigrator project.var blazorClientId = configurationSection["MyProjectName_Blazor:ClientId"]; if (!blazorClientId.IsNullOrWhiteSpace()) { var blazorRootUrl = configurationSection["MyProjectName_Blazor:RootUrl"].TrimEnd('/'); await CreateClientAsync( name: blazorClientId, scopes: commonScopes, grantTypes: new[] { "authorization_code" }, secret: configurationSection["MyProjectName_Blazor:ClientSecret"]?.Sha256(), requireClientSecret: false, redirectUri: $"{blazorRootUrl}/authentication/login-callback", postLogoutRedirectUri: $"{blazorRootUrl}/authentication/logout-callback", corsOrigins: new[] { blazorRootUrl.RemovePostFix("/") } ); }
After configuring everything well, run the DbMigrator once to seed client options.
Also, please check
appsettings.json
file under yourHttpApi.Host
project. There should be a section like that:"App": { "CorsOrigins": "https://*.yourproject.com" },
You can separate CorsOrigins with coma (
,
), make sure there is your blazor url.
yes I checked them all everything is good and that's code already build by abp suite and I didn't change anything's in these files
As I see, it's a CORS issue, did you configure cors properly for you client?
Make sure your IdentityServer configuration is made properly. https://docs.abp.io/en/abp/5.2/Modules/IdentityServer#client
iam still on localhost server run time iis ???
Can you describe it for me more i mean the steps to doit
i oppend a new question before tow days so please help i need it urgently
Access to XMLHttpRequest at 'https://localhost:44362/.well-known/openid-configuration' from origin 'https://localhost:44308' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hi, as the error message said this is an error related to CORS policy and a different topic from this question, so please create a new question for your problem.
help me please i need help very very fast cuse i have a deadline