Activities of "viswajwalith"

Basically we need to connect to SQL MI with managed identity, so thought of modifying the connection method to accommodate the same, but .Net 6 is having native support for the same so updating to Sql.Data.Client to 5.1 fulfilled our requirement.

Thanks for the support, I am closing the issue from my side.

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

We are trying to update to LeptonX from Lepton Theme, added all the necessary packages but still getting the below error ? any guidance to fix this out?

Hi,

Is this work for you? https://github.com/dotnet/efcore/issues/11928#issuecomment-673058635

Thanks for the link, We will check and get back to you with update

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

We have some custom requirement of passing the Token to the the SQL Connection while connection establishment. Can you please guide us where we can find the relevant override?

    SqlConnection connection = new SqlConnection();
    connection.ConnectionString = Configuration.GetConnectionString("defaultConnection");
    connection.AccessToken = authTokenService.GetToken().Result;
    

We are still checking will update you ASAP

Thanks, will give a try and update you. Thanks

Hi,

You can inject RabbitMqDistributedEventBus and AzureDistributedEventBus instead of IDistributedEventBus

but based on which condition it will pick the relevant one?

Also we we mentioned earlier If we are injecting both modules i.e. 'AbpEventBusRabbitMqModule' and 'AbpEventBusAzureModule' by default it's only picking RabbitMQ.

  • ABP Framework version: v5.1
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Micro Service)

We are able to use RabbitMQ & Service Bus as Distributed Event Bus Individually in our Microservice solution. But we would like to have a Switch between RabbitMQ or Service Bus based on tenant. Do we have any Resolver to do this out of the box?

If we are injecting both modules i.e. 'AbpEventBusRabbitMqModule' and 'AbpEventBusAzureModule' by default it's only picking RabbitMQ.

Is their any kind of extension method available for switching between Distributed Event Bus. Please advise.

Answer

hi

Add UserInformationReceived callback to debug and check the principal.

options.Events = new OpenIdConnectEvents() 
 
options.Events.UserInformationReceived = ... 

After changing the claim type from ABPClaimType to ClaimType it worked. Means some issue with the Key used.

var email = loginInfo.Principal.FindFirstValue(ClaimTypes.Email);

Thanks for the support.

Answer

hi

Try to add this options.ClaimActions.MapJsonKey(AbpClaimTypes.Email, "email");

Yes we tried both with ClaimTypes and ABPclaimTypes but no luck

Showing 181 to 190 of 367 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.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.