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
Bugfix #20887 (MFA) does not work properly #21417
Comments
@Aileron79 Hi, unified Azure/AWS/GCP session, unfortunately, is a part of Ultimate Edition functionality. In this edition, you can work with multiple cloud databases by using single session credentials. This feature is unavailable in Community Edition. |
@Destrolaric Thanks for the update, I get the point. Maybe it helps, I am frequently stuck in authentication loops - and if I manage to connect, I need to go through the whole re-authentication process again. I'd expect that automatic re-connection doesn't require me to provide credentials and mfa again - that should be handled/cached/... by the driver. |
SQL Server driver retries SSO requests when fails to connect for any reason, this leads to multiple SSO requests being sent. We probably want to create a bug report for the driver bug tracker. |
microsoft/mssql-jdbc#2237 Linked driver issue |
Description
Thank you for taking this problem seriously and implementing a fix so quickly. Unfortunately, the situation now worsened - there seem to be a few problems with that implementation:
I need to connect to a bunch of databases (like 20+), for all of them I authenticate using my Azure credentials. The problem now is, that I need to go through the whole authentication process (Enter username, password, launch authenticator app, enter authentication code, close browser window) for every single database I connect to.
Sometimes I get caught in a loop: The swt browser pops up, I complete the authentication process, and once it's completed, it starts over again. And again. And again. Eventually I get this error message:
Note that I use the correct credentials, authentication works fine with an older version of DBeaver.
It looks as if the swt browser does not support cookies/caching of sessions.
Sadly, I need to install an older version of DBeaver now to actually be able to work with it.
I would very much like to help sorting out this issue, happy to give a live demo if that helps.
DBeaver Version
23.2.1
Operating System
Win 10
Database and driver
Azure SQL / Azure SQL Server MFA Authentication
Steps to reproduce
Additional context
Expected behaviour:
The text was updated successfully, but these errors were encountered: