hi
Can you share a test project? liming.ma@volosoft.com
You need to change the interface and implementation of the application service
hi
You can consider using single parameters.
eg:
appservice
UpdateAsync(int documentStatusId, string cultureld, CreateUpdateDocumentStatusCultureDto input)
contoller
[HttpPut]
[Route("{documentStatusId}/{cultureld}")]
UpdateAsync(int documentStatusId, string cultureld, CreateUpdateDocumentStatusCultureDto input)
hi
Yes, We plan to support it in 8.2
Please follow the https://github.com/abpframework/abp/pull/18876
hi
How does a documentStatusId represent a class with two parameters? I don't think it's possible by default.
See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-8.0 https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-8.0#custom-route-constraints
and what about this issue please? the claims are filled correctly at the principal but the currentUser still does not contain them.
I can't get the reason by your code.
You can add an IAbpClaimsPrincipalContributor instead of override the AbpUserClaimsPrincipalFactory
https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory
hi
do you mean a generated access_token value or what?
a access_token value, liming.ma@volosoft.com
hi
[IgnoreAntiforgeryToken]
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(TokenController))]
public class MyTokenController : TokenController
hi
rafael.gonzales’ case has nothing to do with yours