-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AAD authentication by providing access token #24
Comments
I can't 100% speak for the original owners' intent, but I think the use of the specific connector today is based on a few considerations:
There's a similar split between SSPI/integrated authentication and AAD authentication in the driver already. Apps using integrated authentication use a different connector than apps using AAD authentication. This model is somewhat unlike that of other SQL client drivers like ADO.Net or ODBC where the connection string provides every possible parameter for every possible connection type. However, I don't know of any other SQL client driver that includes the token in the connection string. In ADO.Net you can programmatically set the token on the |
@shueybubbles how about this then: Interface for the clients
Changes in the driver
The above change goes next to Line 34 in f21bac1
I've tested this change, sounds good? |
Why wouldn't the app just use |
@shueybubbles done. PTAL at PR #26. |
thx. Our team reviews issues and PRs on Thursdays, stay tuned. |
Sure, btw, how can I re-sign the CLA? I tried to create a new PR, but it took the CLA signature of the older PR. |
@shueybubbles ping, didn't get a review on this. |
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.
Issue cloned from: denisenkom#752
The text was updated successfully, but these errors were encountered: