SYSTEM$FINISH_OAUTH_FLOW

functionnot supportedIntegrations, network & secrets

docs.snowflake.com ↗

System functions

Sets the OAUTH_REFRESH_TOKEN parameter value of the secret passed as an argument in the SYSTEM$START_OAUTH_FLOW call that began the OAuth flow. This function completes the OAuth client flow begun with SYSTEM$START_OAUTH_FLOW.

Syntax

SYSTEM$FINISH_OAUTH_FLOW( '<query_string>' )

Parameters

NameRequiredDescription
'query_string'requiredQuery string from the URL in the browser after completing user authentication and providing OAuth consent.

Usage notes