Open kpejman opened 3 years ago
I use a service account to access Service Now using a "Basic" data source connection type.
thanks for the reply. that option is not working for me since it uses SSO to access. my personal account has access and SN uses SSO to login.
To resolve the issue of connecting to Snowflake using SSO, especially when authentication windows fail, you can try the following steps and approaches:-
import snowflake.connector
user = 'your_user' account = 'your_account' authenticator = 'externalbrowser' # For browser-based SSO
ctx = snowflake.connector.connect( user=user, account=account, authenticator=authenticator )
cs = ctx.cursor() try: cs.execute("SELECT CURRENT_VERSION()") one_row = cs.fetchone() print(one_row[0]) finally: cs.close() ctx.close()
3. Check Network and Browser Settings and update the Snowflake Connector
Hope the above helps, do let me know, if it works or not
Thanks
hi,
my company uses SSO to connect to SNOW. when the authentication windows shows up, I tried all the authentication methods but it fails regardless of how I'm trying to authenticate. is there any way to Make this work ?