Black Lives Matter. Please consider donating to Black Girls Code today.

Connect to MS SQL using Trusted_Connection

I’m trying to connect to a MS SQL server using my defaul windows credentials in Falcon. I can connect to it using python with the following code:

pyodbc.connect(r’DRIVER={SQL Server Native Client 11.0};SERVER=test;DATABASE=test;Trusted_Connection=yes;’)

Is there a way to use the windows credentials in Flacon?

The node driver that Falcon uses (tediousjs) doesn’t support Windows authentication yet (although there is some work in progress). I’ve opened an issue in github to track when this feature is added to Falcon.