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

Tedious does not support Active Directory Password Authentication #416

Closed
tvrprasad opened this issue Aug 1, 2016 · 5 comments
Closed

Comments

@tvrprasad
Copy link
Contributor

Azure SQL DB supports two new modes of authentication:
Active Directory Password Authentication
Active Directory Integrated Authentication

I tried getting Tedious to work with Active Directory Password Authentication but couldn't make it work. Is there config to support this mode of authentication or is this a missing feature in Tedious?

@arthurschreiber @arobson - Thoughts please.

@navneetccna
Copy link

i am having same issue with Active Directory Password Authentication

@keatz55
Copy link

keatz55 commented May 1, 2017

@navneetccna So are we

@tvrprasad
Copy link
Contributor Author

Azure Active Directory Authentication is currently not supported by Tedious.

@summittracker
Copy link

@tvrprasad - Does Tedious still not support Azure Active Directory Authentication?

@arthurschreiber
Copy link
Collaborator

Thanks to the work done by @Hadis-Fard, starting with tedious@4.1.0, tedious now supports Azure Active Directory Authentication.

There's a new top-level authentication option that allows specifying with authentication method to use:

new Connection({
  'config': {
    'server': '<server>',
    'authentication': {
      'type': 'azure-active-directory-password',
      'options': {
        'userName': '<userName>',
        'password': '<password>'
      }
    },
    'options': {
      'encrypt': true
    }
  }
})

Currently, tedious@4.1.0 is available from the next release channel. You can install it using npm install tedious@next. It will soon be promoted to the latest channel and will be available via regular npm install tedious.

Please let us know if you run into any trouble using this connection option! 🙇

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

5 participants