Skip to content

Commit 1062e1e

Browse files
sfc-gh-mborinssfc-gh-mmishchenko
authored andcommitted
fix: removing trailing slash from oauth_redirect_uri
The trailing slash breaks the OAUTH_AUTHORIZATION_CODE flow for LOCAL_APPLICATION. Removing this trailing slash enables the flow to work properly.
1 parent 08dbaa8 commit 1062e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snowflake/connector/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def _get_private_bytes_from_file(
339339
str,
340340
# SNOW-1825621: OAUTH implementation
341341
),
342-
"oauth_redirect_uri": ("http://127.0.0.1/", str),
342+
"oauth_redirect_uri": ("http://127.0.0.1", str),
343343
"oauth_scope": (
344344
"",
345345
str,

0 commit comments

Comments
 (0)