Activities of "vishalnikam"

Where and how do i set the token expiration time in ABP.io Identity server. currently it shows below in /connect/token? API "expires_in": 31536000, "token_type": "Bearer",

Also, give sample code to do revoke token in ABP.io Identity server.

Tried this in Host Api >> HttpApiHostModule but dint worked. I am able to login in two browser with same user.

It worked but facing differet issue now. We have multiple identity-service instances are running in 2 servers and we are load balancing it behind NLB. The issue is the 1st request goes to Identity server1 and if the second goes server2, it fails saying 401-unauthorized because the server 1 could not able to share the token with server2. we are not using Radis cache and Key. What I have to do to make load balancing working here ? Is anything can be done for shared resources between two Identity server instance?

After enabling https for identity server still discovery shows http. we are using cloudfront --> nlb --> ECS

Also, try given solution on this but didnt worked

var forwardOptions = new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto, RequireHeaderSymmetry = false };

forwardOptions.KnownNetworks.Clear(); forwardOptions.KnownProxies.Clear();

// ref: https://github.com/aspnet/Docs/issues/2384 app.UseForwardedHeaders(forwardOptions);

https://github.com/IdentityServer/IdentityServer4/issues/1331

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue: Identity server not working after hosted on AWS

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: 3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We are developing banking application where we have to restrict users multiple login session. At time, there should be single active login session.

user should be allowed to be logged in to one application from only one browser at a time. When user logs in then server should check his current active sessions to the same application from other browsers. If there is then log out from everywhere else and keep only newest session.

Please suggest something, which readily availble in ABP.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Facing Performance issue in with Insert\Update with high volumn of data using PostgrsSQL. CurrentUnitOfWork.SaveChangesAsync() takes much time to respond.

Is there any solution availble in ABP.io framweork to bulk insert/update or should we go with store procedure in PostgrsSQL . Please suggest

            foreach (var quoteInvoice in input.QuoteInvoiceDetails)
            {
                var newQuoteInvoice = ObjectMapper.Map<QuoteInvoiceDetailCreateDto, QuoteInvoiceDetail>(quoteInvoice);
                newQuoteInvoice.QuoteId = quote.Id;
                await _quoteInvoiceDetailRepository.InsertAsync(newQuoteInvoice);
            }
            await CurrentUnitOfWork.SaveChangesAsync();

We are looking for swagger definition of identity server API . Examples are given below. Can we generate swagger definition in ABP.io Identity Server Seperated approch ?

http://MyidentityServer/.well-known/openid-configuration "issuer":"http://MyidentityServer", "jwks_uri":"http://MyidentityServer/.well-known/openid-configuration/jwks", "authorization_endpoint":"http://MyidentityServer/connect/authorize", "token_endpoint":"http://MyidentityServer/connect/token", "userinfo_endpoint":"http://MyidentityServer/connect/userinfo", "end_session_endpoint":"http://MyidentityServer/connect/endsession", "check_session_iframe":"http://MyidentityServer/connect/checksession", "revocation_endpoint":"http://MyidentityServer/connect/revocation", "introspection_endpoint":"http://MyidentityServer/connect/introspect", "device_authorization_endpoint":"http://MyidentityServer/connect/deviceauthorization",

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We have to add indentity server endpoints in AWS api gatway and need swagger defination for the same.

Could you please suggest, how we can get that in identity server in ABP.io as it is not there.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Note able to build and compile anular app. Please help on below warning and error.

[root@ip-172-31-6-224 angular]# yarn build:prod yarn run v1.22.5 $ ng build --configuration production Warning: Entry point '@volo/abp.ng.theme.lepton' contains deep imports into '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton1', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton2', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton3', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton4', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton5', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton6'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Compiling @angular/core : es2015 as esm2015

[root@ip-172-31-6-224 ng-FVe2rC]# cat angular-errors.log [error] Error: NGCC failed. at NgccProcessor.process (/root/core-platform/SCV.Litmus/angular/node_modules/@ngtools/webpack/src/ngcc_processor.js:69:19) at /root/core-platform/SCV.Litmus/angular/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:579:31 at SyncHook.eval [as call] (eval at create (/root/core-platform/SCV.Litmus/angular/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1) at SyncHook.lazyCompileHook (/root/core-platform/SCV.Litmus/angular/node_modules/tapable/lib/Hook.js:154:20) at Object.webpack [as webpackFactory] (/root/core-platform/SCV.Litmus/angular/node_modules/webpack/lib/webpack.js:55:30) at createWebpack (/root/core-platform/SCV.Litmus/angular/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:20:36) at Object.runWebpack (/root/core-platform/SCV.Litmus/angular/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:34:12) at SwitchMapSubscriber.project (/root/core-platform/SCV.Litmus/angular/node_modules/@angular-devkit/build-angular/src/browser/index.js:142:32) at SwitchMapSubscriber._next (/root/core-platform/SCV.Litmus/angular/node_modules/rxjs/internal/operators/switchMap.js:49:27) at SwitchMapSubscriber.Subscriber.next (/root/core-platform/SCV.Litmus/angular/node_modules/rxjs/internal/Subscriber.js:66:18) at /root/core-platform/SCV.Litmus/angular/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24

Showing 31 to 40 of 111 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30