Ends in:
7 DAYS
23 HRS
17 MIN
9 SEC
Ends in:
7 D
23 H
17 M
9 S

Activities of "vishalnikam"

Yes, i did. here is sample code. i dont get option for AddStackExchangeRedis

public override void PreConfigureServices(ServiceConfigurationContext context) { var hostingEnvironment = context.Services.GetHostingEnvironment();

var configuration = context.Services.GetConfiguration();

if (!hostingEnvironment.IsDevelopment())
{
    context.Services.PreConfigure<ISignalRServerBuilder>(builder =>
    {
        builder.Services.AddStackExchangeRedisCache(options =>
        {
            options.Configuration = configuration["Redis:Configuration"];
        });
    });
}

}

also, do you mein i need to add services.AddSignalR().AddStackExchangeRedisCache("<your_Redis_connection_string>"); in configservice as well ?

Yes, we can create Role and assign persmissions and users to Roles but how can i assign my suppliers or buyers to the user, who are in Requestor or Approver Role through ABP idnenity module. Please advise.

Hi,

As per Microsoft document, we need to add services.AddSignalR().AddStackExchangeRedis("<your_Redis_connection_string>"); in configservices but as per ABP documement, it says that You don't need to use the services.AddSignalR() and the app.UseEndpoints(...), it's done by the AbpAspNetCoreSignalRModule. we are using AbpAspNetCoreSignalRModule module

https://docs.abp.io/en/abp/latest/SignalR-Integration

i didnt try steps given in microsoft documnet as it required install Microsoft.AspNetCore.SignalR.StackExchangeRedis and add config setp services.AddSignalR().AddStackExchangeRedis("<your_Redis_connection_string>");

But i tried your suggeted preconfig in my appservice module but it didnt worked in AWS ECS. please find below current config and let me know, if anything else is required

public override void PreConfigureServices(ServiceConfigurationContext context)
{
    var hostingEnvironment = context.Services.GetHostingEnvironment();

    var configuration = context.Services.GetConfiguration();

    if (!hostingEnvironment.IsDevelopment())
    {
        context.Services.PreConfigure<ISignalRServerBuilder>(builder =>
        {
            builder.Services.AddStackExchangeRedisCache(options =>
            {
                options.Configuration = configuration["Redis:Configuration"];
            });
        });
    }
  }

Ok. we have requirmnet where Requestor and Approver roles need to be created. Users, who are in these role, will raise request or approve for there specific supplier or buyer. we can create Requestor and Approver roles and can map users to these roles through ABP identity module. but how roles can be mapped to Supplier or group of buyers ? can this achive through ABP identity module ? Please check the Roles hierarchy

What about 3rd point . 3. Currently, JSON web token (JWT) is not encrypted and can revealed the email (username) and expiration date of the token. how to encrypt it or is there any configuration settings in ABP.

Also, didnt get clear idea on below how implement session timeout and restrict multiple user login for Angular UI. could you please elaborate on this

https://support.abp.io/QA/Questions/536/How-to-Restrict-users-multiple-login-session

  • You should consider PublishAsync the event yourself. - where do i get this event as we are using abp Identity module for uer creation/updation
  • Also there is requirment that Suppler Admin Role e.g Samsung Supplier admin should be see only samsung organization users. we created "Samsung" ABP organization unit and added Suppler Admin Role and User to it. But we logged in with Supplier admin, he is able to see all user and not just sumsung user. let me know how to achive this or filter this in ABP identity module.
  • See hierarchy
  • Anchor Admin >> Supplier Admin >> Supplier User
  • Here Supplier Admin should be able to View/Add/Update users of his organization.
  • Also, can we filter users based on claims ?
  • How do i find triggered method or event on user email id or role changed on abp user profile ?
  • How do i restrict user from changing email ?

Ok. how to ignore core module api like AbpApiDefinition, AbpApplicationConfiguration and AbpTenant

from swagger. like I have created module or seperate service using abp new Acme.InvoiceManagement -t module-pro but dont wont core APIs as we have in ABP module service.

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.

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