hi,
I Updated only in app.setting in NaamaIdentityServer and NaamaAPI "App": { "CorsOrigins": "https://mabuhamad.mowe.gov.sa" },
2021-12-30 07:49:04.233 +03:00 [ERR] Invalid client configuration for client ProductsPrices_Swagger: AllowedCorsOrigins contains invalid origin: https://mabuhamad.mowe.gov.sa/naamaapi 2021-12-30 07:49:04.238 +03:00 [INF] {"ClientId":"ProductsPrices_Swagger","ClientName":"ProductsPrices_Swagger","Category":"Error","Name":"Invalid Client Configuration","EventType":"Error","Id":3001,"Message":"AllowedCorsOrigins contains invalid origin: https://mabuhamad.mowe.gov.sa/naamaapi","ActivityId":"800004b5-0000-f100-b63f-84710c7967bb","TimeStamp":"2021-12-30T04:49:04.0000000Z","ProcessId":28292,"LocalIpAddress":"10.210.28.124:443","RemoteIpAddress":"10.210.28.124","$type":"InvalidClientConfigurationEvent"} 2021-12-30 07:49:04.245 +03:00 [ERR] Unknown client or not enabled: ProductsPrices_Swagger {"ClientId":null,"ClientName":null,"RedirectUri":null,"AllowedRedirectUris":null,"SubjectId":"anonymous","ResponseType":null,"ResponseMode":null,"GrantType":null,"RequestedScopes":"","State":null,"UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"response_type":"code","client_id":"ProductsPrices_Swagger","redirect_uri":"https://localhost/NaamaAPI/swagger/oauth2-redirect.html","scope":"ProductsPrices","state":"VGh1IERlYyAzMCAyMDIxIDA3OjQ5OjA0IEdNVCswMzAwIChBcmFiaWFuIFN0YW5kYXJkIFRpbWUp"},"$type":"AuthorizeRequestValidationLog"} 2021-12-30 07:49:04.247 +03:00 [ERR] Request validation failed
Dear muhammedaltug,
Many thanks for shared these steps
Kindly any update
hi, Kindly I want to change all colors in lepton1.scss as an example, so so I want to make changes on lepton1.scss, and after generating the lepton1.css file, I want to replace file in my project without add "Volo.LeptonTheme" module, I just only replace CSS file.
Hi Logs : https://app.box.com/s/xj9g2ai2r07tok54sq1l2qscg5vg1hqy
hi,
I updated all URLs in appsettings, you can show images in above
{
"App": {
"SelfUrl": "https://mabuhamad.mowe.gov.sa/naamaidentityserver/",
"CorsOrigins": "https://mabuhamad.mowe.gov.sa/naamaangular,https://mabuhamad.mowe.gov.sa/naamaapi"
},
"AppSelfUrl": "https://mabuhamad.mowe.gov.sa/naamaidentityserver/",
"ConnectionStrings": {
"Default": "Server=localhost;Database=NaamaMainUnder443;User Id=sa;Password=P@ssw0rd"
},
"Redis": {
"Configuration": "127.0.0.1",
"IsEnabled": false
},
"AuthServer": {
"Authority": "https://mabuhamad.mowe.gov.sa/naamaidentityserver/",
"RequirehttpMetadata": "false",
"ApiName": "ProductsPrices"
},
"IdentityServer": {
"Clients": {
"ProductsPrices_App": {
"ClientId": "ProductsPrices_App",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://mabuhamad.mowe.gov.sa/naamaangular"
},
"ProductsPrices_Swagger": {
"ClientId": "ProductsPrices_Swagger",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://mabuhamad.mowe.gov.sa/naamaapi"
}
}
}
}
{
"App": {
"CorsOrigins": "https://mabuhamad.mowe.gov.sa/naamaangular,https://mabuhamad.mowe.gov.sa/naamaidentityserver"
},
"ConnectionStrings": {
"Default": "Server=localhost;Database=NaamaMainUnder443;;User Id=sa;Password=P@ssw0rd",
"ProductsPrices": "Server=localhost;Database=ProductsPrices_Module;;User Id=sa;Password=P@ssw0rd",
"MainCore": "Server=localhost;Database=MainCore_Module;;User Id=sa;Password=P@ssw0rd"
},
"Redis": {
"Configuration": "127.0.0.1",
"IsEnabled": false
},
"AuthServer": {
"Authority": "https://mabuhamad.mowe.gov.sa/naamaidentityserver/",
"RequirehttpMetadata": "false",
"SwaggerClientId": "ProductsPrices_Swagger",
"SwaggerClientSecret": "1q2w3e*"
}
}
I publish the three sites on IIS Identity Server Host: https://mabuhamad.mowe.gov.sa:12345/ API Host: https://mabuhamad.mowe.gov.sa:12346/swagger/index.html Angular Host: https://mabuhamad.mowe.gov.sa:4400/ everything working ok
but I want to publish the three sites on IIS on port 443 with a subdirectory Identity Server Host: https://mabuhamad.mowe.gov.sa/NaamaIdentityServer API Host: https://mabuhamad.mowe.gov.sa/NaamaAPI Angular Host: https://mabuhamad.mowe.gov.sa/NaamaAngular after these settings, the Identity Server not working
Internal Server Error - UNAUTHORIZED_CLIENT invalid issuer in discovery document expected: https://mabuhamad.mowe.gov.sa/NaamaIdentityServer current: https://mabuhamad.mowe.gov.sa/naamaidentityserver
In the documentation, there is no information on how to use all our company brand colors with ABP commercial Lapton Theme. https://docs.abp.io/en/commercial/latest/themes/customizing-lepton-theme?UI=NG
I want to create a new template lepton7.scss in Angular & MVC [identity server] projects
how add lepton7.scss as Style7 Angular & MVC [identity server] projects Volo.Abp.LeptonTheme.Style => Style7 Volo.Abp.LeptonTheme.Style.PublicLayout=> Style7