Activities of "maliming"

hi

For token authentication, you can use OpenIddict as oauth2 server.

The built-in template projects have integrated the OpenIddict.

https://abp.io/docs/latest/modules/openiddict

Example: use username and password to get a access_token from openiddict

hi

Please add DocumentsManagement.Application and DocumentsManagement.HttpApi to your services/documents/TSD.DOCS.DocumentsService/TSD.DOCS.DocumentsService.csproj

You can check other services to see which module needs to depend on in DocumentsService project

ok, I will check it.

grant_type=client_credentials => The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.

You are using the client_credentials, there is no user concept in this grant type.

hi

Please add the below css to your src\testabp.Web\wwwroot\global-styles.css

table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order {
  right: 0px !important
}

table.dataTable thead .dt-orderable-desc:after {
  display: table-column !important;
}

We will fix this in the next patch version.

Thanks. I have refunded your ticket.

hi

  1. Please share a test access_token
  2. Please share the Debug logs of your API call.
  3. Please set a breakpoint to see the current claims of the API call.
public class Program
{
    public async static Task<int> Main(string[] args)
    {
        Log.Logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
            .Enrich.FromLogContext()
            .WriteTo.Async(c => c.File("Logs/logs.txt"))
            .WriteTo.Async(c => c.Console())
            .CreateLogger();

https://abp.io/community/articles/how-claim-type-works-in-asp-net-core-and-abp-framework-km5dw6g1

Thanks.

Thanks. I will check your project.

hi

Can you share your github url again?

Thanks.

hi

You are using the Cookies authentication now.

So you have to carry the Cookies when you call the API.

The backend will get user info and permission grants info from cookies.

hi

When authenticating a user, you can pass the correct tenant ID. When you call it with the access token, the API will handle the tenant automatically.

https://abp.io/docs/latest/framework/architecture/multi-tenancy#default-tenant-resolvers https://abp.io/docs/latest/framework/architecture/multi-tenancy#change-the-current-tenant

Showing 3191 to 3200 of 11544 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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.