hi
Please check your database tables of identiyt server and update the url.
CorsOrigins
does not support domain names with subdirectory.
hi
Im checking..
hi
AllowedCorsOrigins contains invalid origin: https://mabuhamad.mowe.gov.sa/naamaapi
Can you try to update the URL in AllowedCorsOrigins
?
https://mabuhamad.mowe.gov.sa/naamaapi
to https://mabuhamad.mowe.gov.sa
2021-12-28 16:52:44.346 +03:00 [ERR] Invalid client configuration for client ProductsPrices_Swagger: AllowedCorsOrigins contains invalid origin: https://mabuhamad.mowe.gov.sa/naamaapi
2021-12-28 16:52:44.354 +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":"80000249-0006-fb00-b63f-84710c7967bb","TimeStamp":"2021-12-28T13:52:44.0000000Z","ProcessId":36476,"LocalIpAddress":"10.210.28.124:443","RemoteIpAddress":"10.210.28.124","$type":"InvalidClientConfigurationEvent"}
2021-12-28 16:52:44.364 +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://mabuhamad.mowe.gov.sa/naamaapi/swagger/oauth2-redirect.html","scope":"ProductsPrices","state":"VHVlIERlYyAyOCAyMDIxIDE2OjUyOjQ0IEdNVCswMzAwIChBcmFiaWFuIFN0YW5kYXJkIFRpbWUp"},"$type":"AuthorizeRequestValidationLog"}
2021-12-28 16:52:44.367 +03:00 [ERR] Request validation failed
What's the issue? Please share the details.
hi shobhit
You can make the method do nothing
hi
https://github.com/abpframework/abp/commit/cf28da1466877f4727f96277924416d4ec7fa9b2
hi Rrader30
It seems we need to sign in to the API website. I will create a demo.
hi
Can you share the project? liming.ma@volosoft.com
hi
Please share the details error logs of the identity server project.