Open Closed

The new user was authorized not properly #7809


User avatar
0
liyingji created
  • ABP Framework version: v8.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:I created new user and login as the user, it got permissions same with admin;
  • 2024-09-02 22:40:33.791 +08:00 [WRN] The operation was canceled. System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token) at Volo.Abp.Caching.DistributedCache2.GetAsync(TCacheKey key, Nullable1 hideErrors, Boolean considerUow, CancellationToken token) 2024-09-02 22:40:33.794 +08:00 [WRN] Failed to refresh remote dynamic claims cache for user: b5932639-07c4-634c-b2f7-3a14c55a7bc2 Volo.Abp.AbpException: Failed to refresh remote claims for user: b5932639-07c4-634c-b2f7-3a14c55a7bc2 at Volo.Abp.Security.Claims.RemoteDynamicClaimsPrincipalContributorCacheBase1.GetAsync(Guid userId, Nullable1 tenantId) at Volo.Abp.Security.Claims.RemoteDynamicClaimsPrincipalContributorBase`2.ContributeAsync(AbpClaimsPrincipalContributorContext context)

4 Answer(s)
  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi

    Failed to refresh remote claims for user: b5932639-07c4-634c-b2f7-3a14c55a7bc2

    Please share logs of API and AuthServer websites.

    Thanks.

  • User Avatar
    0
    liyingji created

    I need your email address;

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Does your Redis server work well?

    Can you share the project so I can test it locally?

    Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54