SNOW-1791788: Browser authentication timeout timer not cleared on successful authentication #953
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
status-triage_done
Initial triage done, will be further handled by the driver team
If you need urgent assistance then file a case with Snowflake Support.
Otherwise continue here.
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
1.14.0
Operating System: Darwin (macOS)
Kernel Version: 23.6.0
Processor Architecture: ARM64
(
node --version
andnpm --version
)What are the component versions in the environment (
npm list
)?What did you do?
Create a connection using
createConnection
with theauthenticator
set toEXTERNALBROWSER
.Call
connectAsync
which opens up browser tab.Complete authentication flow successfully.
Execute simple query (< 3 seconds).
Close the connection.
Expect program to exit - it does not.
What did you expect to see?
Expect program to exit - it does not.
There is an open timer, created here, preventing the program from exiting. The timer is essentially a timeout for the browser authentication. It should be cleared if the authentication was successful.
information.
The text was updated successfully, but these errors were encountered: