-
Notifications
You must be signed in to change notification settings - Fork 84
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
loopback-connector-mssql windows authentication #177
Comments
The same issue, is there any solution ? |
So far none that I've seen |
@Unarine loopback-connector-mssql is using nodejs driver I am not sure what is the compatibility between those two drivers...and how much effort we need to do a driver switch. |
We only use the |
Thanks Raymond, the issue&PR for supporting windows authentication in tedious: |
See issue tediousjs/tedious#246 (comment) connecting using windows authentication can work by modifying the datasources.json within the LoopBack application to include the "domain" attribute. Something like this: I verified it works. I created an loopback 3 app with template "Note", which comes with a default "Note" model. Then created a mssql datasource with the following configure(please note the "domain" property is provided), and attached the "Note" model to that datasource: "mssql": { Migrate the model and create two sample instances from the explorer. I am closing this issue. Feel free to reopen it if you still have questions. Thanks |
I have tried all the things still getting the error:.... here's the code in datasources.json here's the stack of error: |
Hi,
Does loopback allow for windows authentication when using the mssql connector? If so, how can I achieve this?
The text was updated successfully, but these errors were encountered: