Use different names for API resources
can you check your IdentityServerApiResources
table. I guess there are duplicate records. if so delete one.
Upgraded identity server project to 4.3.0-rc.2, api resource with duplicated name issue in the store,
&response_type=code%20id_token&scope=openid%20profile%20role%20email%20phone%20School%20FM&response_mode=form_post&nonce=637539299648315756.NmMxZTMyN2EtZjFiOC00YTEzLTk1ZTUtNTg3ODI0ZjJiYTU4MzgwYjRlNzctMGNhOS00ZWU1LWIwZmQtZGU4YjQ0MDAwOGEy&state=CfDJ8KXRcooiqfRLnHfapkfMabZETbZS2HZ0x1fg-imyenT2TgiX-TElW5OkEnmFRSMLeIU0PqrbYYFeTffFpIQCN3j_jUCkWmI2fbcuwePKzJxmE-gvAMN8tG95Zy9-51iAN1kK9FvV0DIv7iEaWR_gYV6P_LC0JurxL7yUXfMLocsXMl8xOMpBnMPR_vwOp1JBqxie7fPZlpc9y6MaRYEhiJTtDrav_9A9F5QUQ64NZ4B-XZNZRVRlCMm5z9VX8mxW9UP297i44tIak0TqFV3t4kW_-WUs6QooYj2Aqt7qmmst6J6iTTMLqgWsMj_0gP_gSg&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.7.1.0 - - 2021-04-14 00:59:25.116 +08:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2021-04-14 00:59:25.149 +08:00 [INF] {"Details":"System.Exception: Duplicate api resources found. This is an invalid configuration. Use different names for API resources. Names found: School\r\n at IdentityServer4.Stores.IResourceStoreExtensions.Validate(IEnumerable
1 identity, IEnumerable1 apiResources, IEnumerable
1 apiScopes)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindEnabledResourcesByScopeAsync(IResourceStore store, IEnumerable
1 scopeNames)\r\n at IdentityServer4.Validation.DefaultResourceValidator.ValidateRequestedResourcesAsync(ResourceValidationRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateScopeAsync(ValidatedAuthorizeRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateAsync(NameValueCollection parameters, ClaimsPrincipal subject)\r\n at IdentityServer4.Endpoints.AuthorizeEndpointBase.ProcessAuthorizeRequestAsync(NameValueCollection paramet`Once rollback to ver 4.2.2, it works fine
hi, we don't have an issue about a duplicate endpoint. I see in the log Names found: School\r\n at IdentityServer4.Stores.
School is not an ABP entity
hi @tapio,
thanks for your contribution request. we already did a Finnish translation with an online translation system for the next version. I can share this translation with you. Just revise all the texts and if any incorrect translation fix it and send it info@abp.io or upload to Google Drive etc. and share the link
refunded your credit.
@alper: I did reinstall 4.30-rc.2 and from my 3 Errors now 2 are gone, one left:
Reinstall: dotnet tool uninstall Volo.Abp.Suite -g dotnet tool uninstall Volo.Abp.Cli -g
dotnet tool install -g Volo.Abp.Cli --version 4.3.0-rc.2 dotnet tool install -g Volo.Abp.Suite --version 4.3.0-rc.2
Generating blazor server solution now works: abp new test -u blazor-server --preview
Opening the generated test solution with abp suite and Crud Page Generator: Still same Error: "Cannot find the directory"
Adding an Entity to Blazor Web Asssembly now works and doesnt fail anymore: abp new test2 -u blazor --preview
hi @hakan yes it's already reported by someone else and we fixed it. read my previous post : https://support.abp.io/QA/Questions/1126#answer-99c5840a-91ab-31de-f6e1-39fbd8759dbc
this is not available in Suite but you can add a collection to your referenced entity to solve this.
Actually you can send your entity json files so I can create them at my side
When I with with ABP Suite, often times I get this error:
https://ibb.co/vjrrKnR and another image: Screenshot here
I cannot 'create' or use the ABP Suite interface. The strange thing is my application builds fine. No errors, see here: https://ibb.co/jDh37mh
The only way I can get around this is that I have to 'refresh' (F5) the ABP suite editor, and then I have approximately 1-3 minutes before the error appears again.
Do you know how I can fix this?
Thanks!
that's disabled because validation is failed. can you show us your properties one by one. also navigation properties. so that I can reproduce.