Activities of "maliming"

hi

This is an encrypted token. You can add a middle to write the bearer token header to log in your API website,

app.Use(async (httpContext, next) =>
{
    var bearerToken = httpContext.Request.Headers["Authorization"].ToString();
    var logger = httpContext.RequestServices.GetRequiredService<ILogger<MyProjectNameWebModule>>();
    logger.LogInformation($"Bearer Token: {bearerToken}");
    await next(httpContext);
});

hi

https://github.com/abpframework/abp/issues/20013#issuecomment-2160025249

https://abp.io/support/questions/7180/Deploying-an-ABP-tiered-project-to-mutliple-docker-containers#answer-3a1297a0-ff1b-ca76-c30d-0b6e0f62253d

Failed to validate the token.
IDX10204: Unable to validate issuer. validationParameters.ValidIssuer is null or whitespace AND validationParameters.ValidIssuers is null or empty.

Can you share a access_token?

Answer

hi

I have tested it, and there is no problem.

> AbpPayment/src/PaymentDemo.DbMigrator> dotnet run
[14:55:29 INF] Started database migrations...
[14:55:29 INF] Migrating schema for host database...
[14:55:43 INF] Executing host database seed...
[14:55:46 INF] Successfully completed host database migrations.
[14:55:46 INF] Successfully completed all database migrations.
[14:55:46 INF] You can safely end this process...

The core change commits are:

https://github.com/adityanbajpai/AbpPayment/commit/627069926ec2a3c8787ac0069808b2cefb5b4172 https://github.com/adityanbajpai/AbpPayment/commit/f8a3315c1b5f289f8f34bcbc3af0e160e64aed96

hi

https://abp.io/docs/latest/framework/architecture/modularity/extending/customizing-application-modules-overriding-services?_redirected=B8ABF606AA1BDF5C629883DF1061649A#example-overriding-a-repository

hi

I understand your situation. Maybe other projects also execute background jobs, so your code is not applied to all projects.

You can try to add your code to Domain module.

Great!

What is the project of this error log? You can try to add your code to Domain module.

https://abp.io/support/questions/7699/Random-exception-after-switching-from-IdentityServer-to-OpenDict#answer-3a147d57-7267-7eaf-1d74-ba36bdfea929

My test code

Your code is no problem, that strange. Can you share a test project?

hi

The EfCoreIdentityUserRepository is in the Identity module, which is an open-source module.

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs#L15

Showing 1041 to 1050 of 8480 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54