Skip to content
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

Add JWT token authentication option #161

Open
LastTribunal opened this issue Oct 19, 2017 · 10 comments
Open

Add JWT token authentication option #161

LastTribunal opened this issue Oct 19, 2017 · 10 comments
Assignees

Comments

@LastTribunal
Copy link

This option exists in Azure SQL, and should unconditionally be part of this library

@LastTribunal LastTribunal changed the title Add JWT token connection option Add JWT token authentication option Oct 20, 2017
@tdesmet
Copy link

tdesmet commented May 4, 2018

I was looking for a way to pass the token obtained from Azure AD for authentication instead of username and password. Is there any plan or roadmap to support this?

I was planning on using this together with Managed Service Identity and the Microsoft.Azure.Services.AppAuthentication library...

@jaredmoo
Copy link
Contributor

jaredmoo commented Jun 5, 2019

Fixing this in #189

@nei-l
Copy link

nei-l commented Jul 15, 2019

Hi,
I can see some changes to support shard management and retrieval by key in #189 using an AccessToken via the factory delegate in the newly introduced SqlConnectionInfo but are there there plans as part of this to update MultiShardConnection too so that the underlying shard connections can also use AD auth?

@jaredmoo
Copy link
Contributor

jaredmoo commented Jul 15, 2019

Yes, MultiShardConnection support is also needed and will be done. Thanks :)

@LastTribunal
Copy link
Author

@jaredmoo
I am still using your original sharding library and with Token Based Auth
All i had to do was upgrade your code to .net 4.5 and create a static variable which I expose to the caller and which I also added to your SQLConnection calls in you code (only two places). The caller manages the token using native AD token libraries.

@bjorkstromm
Copy link

bjorkstromm commented Nov 5, 2019

MultiShardConnection fixed by #201

@jaredmoo any chance to get this merged and get hands on a pre-release soonish (alternatively release)? We are removing SQL Credentials from an App and the Elastic Scale Client is the only thing currently blocking us. Or are there currently any workarounds for passing AccessToken in version 2.3.0?

@jaredmoo
Copy link
Contributor

jaredmoo commented Nov 7, 2019

I merged it :) sorry for the delay with the release, I have been running into challenges with our signing process that are taking a long time to work through, that's the only thing blocking release. I suggest you could build from master branch yourself for now as a workaround.

@hayesst
Copy link

hayesst commented May 13, 2020

Any updates on when this will be released?

@hayesst
Copy link

hayesst commented Jul 1, 2020

@jaredmoo - Are there any plans to release these updates? We'd like to implement and would prefer to do it via an official release path. Any info would be helpful. Thanks

@stuartpa stuartpa self-assigned this Oct 19, 2023
@stuartpa
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants