Starts in:
1 DAY
13 HRS
20 MIN
56 SEC
Starts in:
1 D
13 H
20 M
56 S

Activities of "suraj.kumbhar"

  • ABP Framework version: v4.4.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Couldn't determinate version of "@abp/ng.schematics" package. "SchematicsAbpGenerateProxy" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID. Cannot read property 'push' of undefined

Requesting you to provide solution on this. We go through all proxy related documents but not able solve it.

I am using Microservice template and able to run it successfully now i want make changes in in PreBuilt Module pages for i need source of it.

or What should i refer to make changes in Account, Indentity, Indentity Server pages in Commercial Microservice Template

  • ABP Framework version: v4.4.2
  • UI type: Angular
  • DB provider: EF Core
  • Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Try setting AccessTokenLifetime (or also IdentityTokenLifetime if you need) to 15*60 (token values are in seconds).

If you are using hybrid/authorization code flow and using refresh token; also set AbsoluteRefreshTokenLifetime to 15*60.

We have updated AbsoluteRefreshTokenLifetime, AccessTokenLifetime, IdentityTokenLifetime for 60*5 seconds for testing. But the application logs out forcefully even if the user is active. This is one of the important task we are looking to implement ASAP. We will appreciate your quick response.

I couldn't understand your scenario. If you set AbsoluteRefreshTokenLifetime to 60*5, it will absolutely log you out after 5 mins. Keep this time longer and keep your Access and Identity tokens life time shorter so that, if the access token is compromised, it will be refreshed in short amount of time.

This is not related with ABP, you can check identity server docs for more information

Hi, Thanks for your suggestion. I understand this is not related to ABP but the Identity server is integrated with ABP and thus reaching out to you for advise. Here is what we did but still not able to fix the problem. Will appreciate if you can do a remote call with us to understand and resolve the issue.

Set AbsoluteRefreshTokenLifetime to 60100 i.e. 100 minutes. Set AccessTokenLifetime to 605 i.e. 5 minutes. Set IdentityTokenLifetime to 60*5 i.e. 5 minutes. User remains active but forcefully gets logout after 5 minutes. There is no call to refresh token api from client application when doing such test. So, does application refreshes token automatically based on above settings or there is something additional we need to do to refresh token?

Hello, This issue is related to SecurityStampValidator, you will have to just add below line in WebModule class in ConfigureServices method. It needs this package Microsoft.AspNetCore.Identity in case gives error for SecurityStampValidatorOptions. This will keep user active for 24 hours/ you can change as per your conveniece.

context.Services.Configure<SecurityStampValidatorOptions>(options => options.ValidationInterval = TimeSpan.FromHours(24));

how can overide the existing Account/AccessDenied page?

https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-page https://community.abp.io/articles/how-to-customize-the-login-page-for-mvc-razor-page-applications-9a40f3cd https://support.abp.io/QA/Questions/240/How-to-customize-the-login-page

Thanks, But i know about this. I want to change that Account/AccessDenied route to my new custom page? Unfortunately i dont know where is that page located.

  • ABP Framework version: v4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

When User redirects to the unauthorize page, access denied pages comes. i want to add custom page which will redirect user to that page.

e.g. I dont have permissions to Identity/Users page then i want to redirect user to different page or how can overide the existing Account/AccessDenied page?

@liangshiwei there is no specific way, could you please tell how token generated in abp io, or can i set expiration timeout. Because we have created pages as per ABP IO, still after some time we got above error.

@maliming In ABP.IO we are creating an entities like this which supports repository pattern.

public class Book : Entity<long> { public string Name { get; set; }

public float Price { get; set; }

}

private readonly IRepository<Book,long> _bookRepository;

but i want to create a class which will not inherit Entity.

public class Book { public long Id {get;set;}

public string Name { get; set; }

public float Price { get; set; }

}

private readonly IRepository<Book,long> _bookRepository it gives erros at this line if we didnt pass Entity.

can i use this class with Repository pattern and if not then what approach should i take.

waiting for your urgent response.

I think this issue is only because of MongoDB, we are suing Azure CosmosDB with Mongo API Version 3.6 also. It has already issue present from last 2 months https://support.abp.io/QA/Questions/473/MongoDBDriverMongoCommandException-Command-aggregate-failed-Error2-After-deployment-on-Azure-using-CosmosDB.

Due to above issue we have choose to use 3.2 version for mongo in Cosmos and we started working. But when we want to implement Backgroung job its not working.

We have to use MongoDb only. Please suggest a workaround above issues. It has performance issue, Aggregation Issues, Background job is not getting triggered.

@Alper Above issue remains same after migrating app to 3.2.1 with MonogDb

I know i checked, nothing gets logged and brekpoint also gets move to step after EnqueAsync();

Showing 11 to 20 of 38 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06