Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to connect to Snowflake Web UI with custom OAuth integration

Hi I created an external custom OAuth security integration like so :

create or replace security integration fred_oauth_integration
    type = external_oauth
    enabled = true
    external_oauth_type = custom
    external_oauth_issuer = 'http://$(some_endpoint)/snowflakeAuth/accessToken'
    external_oauth_jws_keys_url = 'https://$(some_endpoint)/snowflakeAuth/jsonWebKeySet'
    external_oauth_audience_list = ('https://xxxx.us-east-1.snowflakecomputing.com')
    external_oauth_scope_mapping_attribute = 'scp'
    external_oauth_token_user_mapping_claim='upn'
    external_oauth_snowflake_user_mapping_attribute='login_name';

How to get redirected to my identity provider when I want to use the Snowflake Web UI (https://xxxx.us-east-1.snowflakecomputing.com/console/login#/)?

Is there a specific URL or some configuration to enable that ?

like image 717
Frederic PIROT Avatar asked Dec 07 '25 02:12

Frederic PIROT


1 Answers

I don't think the OAuth part is for Web UI login mechanism.It is more of a connection mechanism between applications like Power BI, Tableau etc and using command line mechanism. For being able to use authentication mechanism for UI, leverage Single Sign On feature available for Snowflake.

like image 113
Srinath Menon Avatar answered Dec 09 '25 03:12

Srinath Menon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!