Activities of "liangshiwei"

You can set the HTTP Request timeout.

BWT, I don't remember uploading a very large file like this.

Hi,

you can try to create a new uow to create a user.

for example:

Guid userId;
using (var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true))
{
    var newUserName = await GetUniqueUserNameAsync(input.Name.Trim(), input.Surname.Trim());
    var user = new IdentityUser(_guidGenerator.Create(), newUserName.Trim(), input.Email, tenantId);

    var creationResult = await _identityUserManager.CreateAsync(user, input.Password.Trim());
 creationResult.CheckErrors();

    await _identityUserManager.SetEmailAsync(user, input.Email.Trim());
    await _identityUserManager.SetPhoneNumberAsync(user, input.PhoneNumber.Trim());

    user.Name = input.Name.Trim();
    user.Surname = input.Surname.Trim();

    ......
    
    userId = user.Id;
    await uow.CompleteAsync();
}

var userDetails = await _identityUserManager.GetByIdAsync(userId);

Hi,

can you add / to redirect_uri

Hi,

okay

Test is configured using the Production Redis db for now so that I can keep everything consistent for troubleshooting.

Don't use Production Redis db for Test env.

I think it's related to the session check.

you can try this to check if it's works:

[ExposeServices(typeof(IdentitySessionChecker))]
public class MyIdentitySessionChecker : IdentitySessionChecker
{
    public MyIdentitySessionChecker(IOptions<AbpClaimsPrincipalFactoryOptions> abpClaimsPrincipalFactoryOption, IdentitySessionManager identitySessionManager, IDistributedCache<IdentitySessionCacheItem> cache, IClock clock, IWebClientInfoProvider webClientInfoProvider, IOptions<IdentitySessionCheckerOptions> options) : base(abpClaimsPrincipalFactoryOption, identitySessionManager, cache, clock, webClientInfoProvider, options)
    {
    }

    public override Task<bool> IsValidateAsync(string sessionId)
    {
        return Task.FromResult(true);
        //return base.IsValidateAsync(sessionId);
    }
}

Hi,

you can use CSS to change the style without any problem.

Sorry, I don't know what exact question is

Could you please share a minimal reproducible project with me? i will check it.

shiwei.liang@volosoft.com

Hi,

I just think there is something wrong with your project structure.

For Auth Server Separated solution, the Blazor.Server project should not rely on Volo.Abp.Identity.Pro.Domain project.

Hi

If session is not null, then the check will pass

Hi,

could you please share the full logs?

Showing 281 to 290 of 5950 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11