- 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;
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.