Shiny document not completing Windows Authentication with dbConnect

Hi everyone,

I have a connection object using DBI::dbConnect. I can use this object to connect to the database in my shiny apps. It brings up an Rstudio api for username, then it brings up the Windows authentication webpage for the password. My authentication method is "ActiveDirectoryInteractive."

Now, when I try to use the same connection object for my shiny document from Rmarkdown, it brings up the username prompt then hangs. I never receive the password popup.

What can I do to get the shiny document rendering to bring up the password prompt like the app does?