Activities of "maliming"

Answer

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

Answer

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

hi

IDX10206: Unable to validate audience. The 'audiences' parameter is empty.

Please share a access_token

hi @fordz

Please create a new question.

Thanks.

hi rogercprops

I refunded your ticket credits.

Showing 5471 to 5480 of 11556 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.