Activities of "suraj.kumbhar"

ABP Framework version: v3.0.5 UI type: Angular Db: MongoDb

We tried Microsoft login (AAD) in Razor Pages UI & Entity Framework Core for Microsoft login and its working fine. We would like to know whether Social login is provided/implemented in Angular-MondoDb template or not because tried it but not able to find it in Angular project. Or Please provide us link/video so we can have a look into it.

NO, but We tried using the above way and many different ways also, One thing we want to know that we are retireving access token using IdentityServer4 like this angular using OAuthService

return from(this.oAuthService.loadDiscoveryDocument()).pipe(
      switchMap((data) =>
        from(
          this.oAuthService.fetchTokenUsingPasswordFlow(
            username,
            password,
            new HttpHeaders({ ...(tenant && tenant.id && { __tenant: tenant.id }) }),
          ).then((token)=>{
            
          }
          ),
        ),
      ),
      switchMap((data) => this.store.dispatch(new GetAppConfiguration())),
      tap((data) => {
        const redirectUrl =
          snq(() => window.history.state.redirectUrl) || (this.options || {}).redirectUrl || '/';
        this.store.dispatch(new Navigate([redirectUrl]));
      }),
      take(1),
    );

Here we get an access token and get access to all backend apis. Can we know how we will be get generate that access token if login using AAD through Oauth Implicit flow? because we are able to login using AAD in angular, generating accesstoken and claims as well but further process is not clear to us.

const tenant = this.store.selectSnapshot(SessionState.getTenant);
    this.oAuthService.tokenValidationHandler = new JwksValidationHandler();
    this.oAuthService.configure(
      this.store.selectSnapshot(ConfigState.getOne('environment')).aadConfig,
    );    
    this.oAuthService.initImplicitFlow('providername=AzureOpenId');

After successful AAD login its redirecting to home controller where we can get accesstoken and claims.

this.oAuthService.tryLogin().then(() => {
      let claims = this.oAuthService.getIdentityClaims(); 
      }

But as we know its not authentiing the user from database , its just a successfull microsoft login but not abp login as user is not part of the system.

Please help us in next process!

Have you removed Add As Project option from Abp Suite?

We have also tried using abp add-module <module-name> [options] command but its giving me 403 error. I have logged into the abp still i am receiving this error. Any solution on this well?

its happening after updating abp cli and abp suite!

Let us know if there is any alternative! Abp Suite Version 3.1.1

I am using Version 3.1.1

We are using Enterprise License.

System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null'

We want make changes in layout pages for that we have added LeptonTheme withsource code, but its giving above error!

All below projects contains an theme reference and there is no error while building solution but project is not getting launch due to above error.

Please help us to resolve this issue.

We are using ABP commercial Enterprise license and currently we have update ABP to 3.1.1 but after adding Volo.Saas module there is an wrong namespace added for SaasHostWebModule and SaasTenantWebModule, it actually refered to Tenant class in Domain project, I have resolved this issue by making changes in namespaces.

could you please tell me is this correct way or in next version this issue will get resolved?

  • ABP Commercial version: v3.1.2
  • UI type: MVC
  • Tiered (MVC): yes
  • Exception message and stack trace: 2020-10-01 05:26:47.364 +00:00 [INF] Executed endpoint '/Index' 2020-10-01 05:26:47.364 +00:00 [INF] AUDIT LOG: [302: POST ] /
  • UserName - UserId : -
  • ClientIpAddress : ::1
  • ExecutionDuration : 24
  • Actions:
    • Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor.OnPostLoginAsync (1 ms.) {}

2020-10-01 05:26:47.365 +00:00 [INF] Request finished in 26.9814ms 302 text/html; charset=utf-8 2020-10-01 05:27:31.955 +00:00 [INF] Request starting HTTP/2.0 POST https://localhost:44393/signin-oidc application/x-www-form-urlencoded 1655 2020-10-01 05:27:32.274 +00:00 [INF] AuthenticationScheme: Identity.External signed in. 2020-10-01 05:27:32.275 +00:00 [INF] Request finished in 320.3263ms 302 2020-10-01 05:27:32.280 +00:00 [INF] Request starting HTTP/2.0 GET https://localhost:44393/?handler=Login
2020-10-01 05:27:32.284 +00:00 [INF] Executing endpoint '/Index' 2020-10-01 05:27:32.286 +00:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index 2020-10-01 05:27:32.286 +00:00 [INF] Executing handler method ****.Web.Pages.IndexModel.OnGet - ModelState is "Valid" 2020-10-01 05:27:32.286 +00:00 [INF] Executed handler method OnGet, returned result . 2020-10-01 05:27:32.286 +00:00 [INF] Executing an implicit handler method - ModelState is "Valid" 2020-10-01 05:27:32.286 +00:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2020-10-01 05:27:32.300 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 1.81 ms. 2020-10-01 05:27:32.303 +00:00 [INF] Authorization failed. 2020-10-01 05:27:32.305 +00:00 [INF] Authorization failed. 2020-10-01 05:27:32.311 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 4.30 ms. 2020-10-01 05:27:32.312 +00:00 [INF] Executed page /Index in 26.7772ms 2020-10-01 05:27:32.312 +00:00 [INF] Executed endpoint '/Index' 2020-10-01 05:27:32.313 +00:00 [INF] Request finished in 33.0781ms 200 text/html; charset=utf-8 2020-10-01 05:27:32.427 +00:00 [INF] Request starting HTTP/2.0 GET https://localhost:44393/Abp/ApplicationConfigurationScript
2020-10-01 05:27:32.429 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2020-10-01 05:27:32.430 +00:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc). 2020-10-01 05:27:32.431 +00:00 [DBG] Executing AbpApplicationConfigurationAppService.GetAsync()... 2020-10-01 05:27:32.433 +00:00 [INF] Request starting HTTP/2.0 GET https://localhost:44393/Abp/ServiceProxyScript
2020-10-01 05:27:32.435 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2020-10-01 05:27:32.436 +00:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc). 2020-10-01 05:27:32.438 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2020-10-01 05:27:32.469 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 33.2521ms 2020-10-01 05:27:32.470 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2020-10-01 05:27:32.470 +00:00 [INF] Request finished in 37.4282ms 200 application/javascript 2020-10-01 05:27:32.477 +00:00 [INF] Authorization failed.

  • Steps to reproduce the issue: Run 3 Project identity Server,HttpApi.Host and Web then try to login thorugh Web Project login Page its not loading User and Dashboard. *** Added Base Module As A project using ABP SUITE : Account ,IdentitySErver and IdentityServer UI.

Web Project Login page:

Redirect to IdentityServer and Enter Credentials:

Not Redirecting to Dashboard and User id not loaded, Returned back to login page

As we want extend/ make some changes in those module we added it.

  • ABP Framework version: v3.1.2

  • UI type: MVC

  • Tiered (MVC): / no

  • Exception message and stack trace: 2020-10-07 04:23:16.969 +00:00 [ERR] Command aggregate failed: Error=2, Details='Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason:** (Message: {"Errors":["The index path corresponding to the specified order-by item is excluded."]} ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4, Request URI: /apps/c56d70d4-0fbb-44da-8f3b-6ce6087ccf9b/services/3c16649d-2bb2-4531-abb0-09d4bd1a927c/partitions/192defda-7d84-4fba-b645-a2632c45d63c/replicas/132463302254650749s/, RequestStats: Please see CosmosDiagnostics, SDK: Windows/10.0.14393 cosmos-netstandard-sdk/3.3.2);););););. MongoDB.Driver.MongoCommandException: Command aggregate failed: Error=2, Details='Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4; Reason: (Message: {"Errors":["The index path corresponding to the specified order-by item is excluded."]}** ActivityId: 87a43de8-654b-4acb-9b41-80d5c01291b4, Request URI: /apps/c56d70d4-0fbb-44da-8f3b-6ce6087ccf9b/services/3c16649d-2bb2-4531-abb0-09d4bd1a927c/partitions/192defda-7d84-4fba-b645-a2632c45d63c/replicas/132463302254650749s/, RequestStats: Please see CosmosDiagnostics, SDK: Windows/10.0.14393 cosmos-netstandard-sdk/3.3.2);););););. at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol1.ProcessResponse(ConnectionId connectionId, CommandMessage responseMessage) at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol1.ExecuteAsync(IConnection connection, CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.Server.ServerChannel.ExecuteProtocolAsync[TResult](IWireProtocol1 protocol, ICoreSession session, CancellationToken cancellationToken) at MongoDB.Driver.Core.Operations.RetryableReadOperationExecutor.ExecuteAsync[TResult](IRetryableReadOperation1 operation, RetryableReadContext context, CancellationToken cancellationToken) at MongoDB.Driver.Core.Operations.ReadCommandOperation1.ExecuteAsync(RetryableReadContext context, CancellationToken cancellationToken) at MongoDB.Driver.Core.Operations.AggregateOperation1.ExecuteAsync(RetryableReadContext context, CancellationToken cancellationToken) at MongoDB.Driver.Core.Operations.AggregateOperation1.ExecuteAsync(IReadBinding binding, CancellationToken cancellationToken) at MongoDB.Driver.OperationExecutor.ExecuteReadOperationAsync[TResult](IReadBinding binding, IReadOperation1 operation, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl1.ExecuteReadOperationAsync[TResult](IClientSessionHandle session, IReadOperation1 operation, ReadPreference readPreference, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl1.AggregateAsync[TResult](IClientSessionHandle session, PipelineDefinition2 pipeline, AggregateOptions options, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl1.UsingImplicitSessionAsync[TResult](Func2 funcAsync, CancellationToken cancellationToken) at MongoDB.Driver.IAsyncCursorSourceExtensions.ToListAsync[TDocument](IAsyncCursorSource`1 source, CancellationToken cancellationToken) at Volo.Abp.Identity.MongoDB.MongoIdentityUserRepository.GetListAsync(String sorting, Int32 maxResultCount, Int32 skipCount, String filter, Boolean includeDetails, CancellationToken cancellationToken)

  • Steps to reproduce the issue: We have Host the Application on Azure and for database we have used Azure Cosmos Db with MongoDB API Version 3.6 application launch successfully but after login its not showing in LIST DATA for Users, Tenants everything wherever we used GetListAsync Method all got failed due to above exception. We also referred this link https://docs.microsoft.com/nl-nl/azure/cosmos-db/mongodb-troubleshoot but dont know how to solve this in ABPIO. this is our sample CosmosDB Connection String(its dummy for showing purpose) : "Default": "mongodb://ops-ai:ASDFeeZbaeQJMmhGujdWD6ZofiiChCmlR1TYHUkdp89QIAifHYTG8RaRsBthxpZ85mj8tWA9n6T8RuEIBeX4a45==@demo.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@demo@",

Any solution on High Priority will help us to move forward.

Showing 1 to 10 of 38 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11