SNOW-1566207: ExternalBrowser authentication hangs if user closes browser prior to authentication #1849
Labels
bug
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-merged
1. What version of JDBC driver are you using?
3.16.1
2. What operating system and processor architecture are you using?
Ubuntu 22.04, Intel x64
3. What version of Java are you using?
OpenJDK 17.0.11+9
OpenJ9 0.44.0
4. What did you do?
Our application allows users to pass the connection property
authenticator=externalbrowser
when we connect to the driver via connect().This works fine if the user logs in successfully, but if the user decides to close the browser without logging in, the request simply hangs and does not return any exceptions or timeouts.
5. What did you expect to see?
A similar browser-based authentication method exists for the Microsoft JDBC Driver for SQL Server. When the user closes the browser without logging in, the driver returns an exception after a short amount of time:
The text was updated successfully, but these errors were encountered: