snowflakedb/snowflake-cli

SNOW-932222: External browser authentication prints message about browser spawning with registry token command

Closed this issue · 0 comments

SnowCLI version

1.1.1

Python version

3.10.0

Platform

macOS-13.5.2-arm64-arm-64bit

What happened

When using the snow registry token command to login to docker with external browser authentication, it prints out the message:

Initiating login request with your identity provider. A browser window should have opened for you to complete the login. If you can't see it, check existing browser windows, or your OS settings. Press CTRL+C to abort and try again... Going to open: https://xxxx.sso.com/app/sso/saml?SAMLRequest=SAMLREQUESTSTRING.......&RelayState=58927 to authenticate...

Along with the json for the token. This message can't be included in the token that we pipe to the "docker login" command.

Console output

See above.

How to reproduce

Setup snowflake account with SSO for signon. Then configure snowcli for externalbrowser authentication. Then run "snow registry token --format=JSON".