Skip to content

Commit 6b3bd63

Browse files
sfc-gh-mkellersfc-gh-mmishchenko
authored andcommitted
do not log state
1 parent ea0bff2 commit 6b3bd63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snowflake/connector/auth/oauth_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
self.redirect_uri = redirect_uri
6969
self.scope = scope
7070
self._state = secrets.token_urlsafe(43)
71-
logger.debug("chose oauth state: %s", self._state)
71+
logger.debug("chose oauth state: %s", "".join("*" for _ in self._state))
7272
self._oauth_token = None
7373
self._protocol = "http"
7474

0 commit comments

Comments
 (0)