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 support for Windows Authentication to SQL Server #776

Open
rcwombat opened this issue Jan 15, 2025 · 2 comments
Open

Add support for Windows Authentication to SQL Server #776

rcwombat opened this issue Jan 15, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@rcwombat
Copy link

What are you building with SQLPage ?
Dashboards and tools for Point of Sales systems

What is your problem ? A description of the problem, not the solution you are proposing.
Currently SQLPage does not support SQL Server database connections via Windows Authentication (integratedSecurity).
Attempts to use results in:

[2025-01-12T00:58:50.118Z ERROR sqlpage] "mssql://localhost/{DBNAME}?instance={NAMEDINSTANCE}&integratedSecurity=true" is not a valid database URL. Please change the "database_url" option in the configuration file.

    Caused by:
        0: error with configuration: `integratedSecurity` is not a valid mssql connection option
        1: `integratedSecurity` is not a valid mssql connection option

What are you currently doing ? Since your solution is not implemented in SQLPage currently, what are you doing instead ?
Creating user/password...

Describe the solution you'd like
Add support for connection string to handle Windows Authentication.

Additional context
Add any other context or screenshots about the feature request here.

@rcwombat rcwombat added the enhancement New feature or request label Jan 15, 2025
@kryskool
Copy link

Hi @rcwombat

By experience, it's bad designn to use Windows or Active Directory authentication for a database, i prefer to create a specific user to prevent password policy changes for example.

Regards,

@rcwombat
Copy link
Author

Hi @kryskool,

By experience, it's not always your database that you need to connect so you don't get a say in how someone else has designed any part of it.

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

No branches or pull requests

2 participants