Ends in:
5 DAYS
7 HRS
18 MIN
21 SEC
Ends in:
5 D
7 H
18 M
21 S

Activities of "maliming"

hi

Can you share a minimal project to show your problem?

liming.ma@volosoft.com

Thanks.

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.

Showing 141 to 150 of 8490 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 26, 2024, 12:49