denisenkom / go-mssqldb

Microsoft SQL server driver written in go language
BSD 3-Clause "New" or "Revised" License
1.81k stars 493 forks source link

AAD authentication by providing auth token #752

Closed RudraNirvan closed 1 year ago

RudraNirvan commented 2 years ago

Is your feature request related to a problem? Please describe. The current AAD authentication does not allow the client to submit an auth token directly to connect to a database. Instead it provides ways to generate the token and then connect to the DB.

Describe the solution you'd like Supply the auth token in the connection string to connect to the DB.

Describe alternatives you've considered The existing mechanism is the alternative, however, it does not allow one to directly submit an auth token.

Additional context None.