Activities of "leeneshk"

  • Exception message and full stack trace: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown. at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.d__16.MoveNext() at Volo.Abp.Authorization.MethodInvocationAuthorizationService.d__3.MoveNext() at Volo.Abp.Authorization.AuthorizationInterceptor.d__3.MoveNext() at Volo.Abp.Authorization.AuthorizationInterceptor.d__2.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.d__31.MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.d__141.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.d__7.MoveNext() at Volo.Abp.Auditing.AuditingInterceptor.d__4.MoveNext() at Volo.Abp.Auditing.AuditingInterceptor.d__2.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.d__31.MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.d__141.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.d__7.MoveNext() at Volo.Abp.Validation.ValidationInterceptor.d__2.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.d__31.MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.d__141.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.d__7.MoveNext() at Volo.Abp.Uow.UnitOfWorkInterceptor.d__2.MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.d__31.MoveNext() at EDOnlineT3.LearnworldsAPI.LearnworldsApiTriggerService.d__16.MoveNext() in C:\dev\EdOnlineT3\src\EDOnlineT3.Application\LearnworldsAPI\LearnworldsApiTriggerService.cs:line 257 at EDOnlineT3.Controllers.LearnworldsAPI.LearnworldControllerBase.d__5.MoveNext() in C:\dev\EdOnlineT3\src\EDOnlineT3.HttpApi\Controllers\LearnworldsAPI\LearnWorldController.cs:line 51

  • Steps to reproduce the issue: I am trying to connect to our app which is from Abp via a third-party webhook, the idea is when a user logs into their account via the third-party site, they need to be automatically logged in on our app, and if they are not registered on our app, then a user account needs to be created for them and automatically sign them in.

I am getting the above error when attempting to connect to the Abp related identity modules, I just want to know how can I achieve the above and prevent the error. Below is my method:

[AllowAnonymous]
public async Task<IActionResult> HandleWebhookAsync(LearnworldsWebhookPayload payload, string signature)
{
    var school = await _learnworldsAPIRepository.FirstOrDefaultAsync(x => x.LMSEndPoint.Contains(payload.School.Url));

    if (school == null)
    {
        _logger.LogWarning("School not found");
        return new NotFoundObjectResult("School not found");
    }

    //if (!ValidateSignature(payload, signature, school.WebhookKey))
    //{
    //    _logger.LogWarning("Invalid webhook signature");
    //    return new UnauthorizedResult();
    //}

    var user = await _userAppService.FindByEmailAsync(payload?.User?.Email);
    await _identityOptions.SetAsync();
    if (user == null)
    {
        var input = new IdentityUserCreateDto
        {
            SendConfirmationEmail = true,
            UserName = payload?.User?.Username ?? payload?.User?.Email,
            Email = payload?.User?.Email,
            //Name = payload?.data?.user?.name,
            //Surname = payload?.data?.user?.surname,
            Password = GuidGenerator.Create().ToString(),
            RoleNames = new string[] { "User" },
            ShouldChangePasswordOnNextLogin = true,
            IsActive = true,
            EmailConfirmed = false
        };
        user = await _userAppService.CreateAsync(input);
        await _learnworldsAPIRepository.UpdateTenantId(school.TeachCoreSchoolId, user.Id);
        var identityUserNew = await _userManager.GetByIdAsync(user.Id);
        await _userManager.AddToRoleAsync(identityUserNew, "User");
        await SendConfirmationEmailAsync(user.Email, identityUserNew.PasswordHash);
    }

    var identityUser = await _userManager.GetByIdAsync(user.Id);

    // Generate a token for the user
    var token = await GenerateTokenAsync(user);

    // Sign the user in
    await SignInUserAsync(user, token);

    return new OkObjectResult(user);
}
Question

Hello, I hope you are doing well

I need some assistance or direction on a few things in regards to the LeptonX theme.

  • I would like to hide the side-bar when a user is not authenticated, and only once they log in, the side-bar displays.
  • I would also like to add our footer to the side-bar instead of using the <abp-footer> tag.

Is this possible on LeptonX Commercial?

We are currently using the commercial ABP Angular project.

Thank you

  • ABP Framework version: v9.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: Hello,

I am getting a circular dependency error on my solution when attempting to consume a third-party API (Learnworlds), I have created the App Service, the required interfaces as well as a repo method that gets the details for the API call. All I want to do is get data upon request and populate certain fields, any assistance will be extremely helpful as I have been struggling with this issue for a few days now.

An exception was thrown while activating EDOnlineT3.Controllers.LearnworldsServices.LearnworldsApiController -> λ:EDOnlineT3.LearnworldsServices.ILearnworldsApiService. at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context) at Autofac.Core.Resolving.Middleware.ScopeSelectionMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest& request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest& request) at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest& request) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest& request) at Autofac.Core.Lifetime.LifetimeScope.Autofac.IComponentContext.ResolveComponent(ResolveRequest& request) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters) at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable1 parameters) at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType) at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredService(Type serviceType) at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass6_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

I would like to have a call with any one of you guys perhaps, so that we can go through the issue together, if possible

Question

Hello,

Are there any issues/bugs with nuget.abp.io? As I have seen in previous logged tickets that this seems to be a common occurrence, is there anything we can do on our end to prevent this from happening? As we have now lost almost a full day of our deployments and this is extremely concerning!

We are unable to deploy via Azure CI/CD Build Pipelines as the nuget restore keeps giving a 403 Forbidden error the same is happening locally, below are the list of packages it keeps complaining about:

Retrying 'FindPackagesByIdAsync' for source 'https://nuget.abp.io/xxx/v3/package/volo.abp.aspnetcore.abstractions/index.json'. Response status code does not indicate success: 403 (Forbidden).

  • ABP Framework version: v9.0.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.DistributedLocking.Abstractions' from remote source 'https://nuget.abp.io/[xxx]/v3/package/volo.abp.distributedlocking.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
  • Steps to reproduce the issue: Issue occurring when performing dotnet restore using Azure CI/CD Classic Build Pipeline
Showing 1 to 4 of 4 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.0.0-preview. Updated on September 01, 2025, 08:37