Activities of "liangshiwei"

try use : dotnet tool install -g volo.abp.suite --version 3.2.1 --add-source https://nuget.abp.io/xxxxxxxxxxxxxx/v3/index.json

Hi,

Can you provide steps to reproduce? thanks.

Hi,

Your background job should call domain services instead of application services.

await context.IsGrantedAsync(EducatePlusPermissions.TestForMenus.Default)

Maybe the current user does not have EducatePlusPermissions.TestForMenus.Default permission

Hi,

I did not receive your email. please email to me.

Hi,

Just an example:

[Dependency(ReplaceServices = true)]
public class MyConnectionStringResolver : MultiTenantConnectionStringResolver
{
    private readonly IStringEncryptionService _encryptionService;
    
    public MyConnectionStringResolver(
        IOptionsSnapshot<AbpDbConnectionOptions> options,
        ICurrentTenant currentTenant,
        IServiceProvider serviceProvider,
        IStringEncryptionService encryptionService) : base(options, currentTenant, serviceProvider)
    {
        _encryptionService = encryptionService;
    }

    public override string Resolve(string connectionStringName = null)
    {

        var connectionString = base.Resolve(connectionStringName);

        return _encryptionService.Decrypt(connectionString);
    }
}

Hi,

You cannot redirect with authorization header. A redirection in the HTTP protocol doesn't support adding any headers to the target location.

Some possible solutions:

  1. If the servers share a common domain, create a cookie on a domain that spans both (e.g. create cookie on domain.com if login is at auth.domain.com and the app at app.domain.com)

  2. Consider adding it as a query string to the redirect URL. eg window.location.href = "...dashboard?access_token={token}".

    .AddJwtBearer(options =>
        {
            .....
            options.Events = new JwtBearerEvents
            {
                OnMessageReceived = context =>
                {
                    var accessToken = context.Request.Query["access_token"];
    
                    // If the request is for our hub...
                    var path = context.HttpContext.Request.Path;
                    if (!string.IsNullOrEmpty(accessToken) &&
                        (path.StartsWithSegments("/hangfire")))
                    {
                        // Read the token out of the query string
                        context.Token = accessToken;
                    }
                    return Task.CompletedTask;
                }
                ......
      };
    

Hi,

Can I check it remotely(UTC+8)? shiwei.liang@volosoft.com

Hi,

We have created internal issue, it will fix soon. Thanks.

Try AbpClaimTypes.UserId = ClaimTypes.NameIdentifier;

Showing 6041 to 6050 of 6693 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.