hi
I don't see any of the JWTBearerOptions logging in the staging logs,
That's strange, We have to check the logs of staging apps.
We need to make sure the configuration is correct.
I have pushed the new commit. Can you try to deploy it again?
Thanks.
hi
Please test the new commits in your stage environment.
https://github.com/Flo3Digital/Flo3BlazorDev/commits/master/
Thanks.
hi
Can you upload your project code to the Github private repository?
I will check your code . My GitHub user name is maliming Thanks.
hi
Can you share the new logs of API website?
Thanks.
hi
Add this after app.UseAuthentication()
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?
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