<#761 fix: skip auth interceptors when insecure=Tr...
# flyte-github
a
#761 fix: skip auth interceptors when insecure=True Pull request opened by pingsutw Summary • When
insecure=True
, skip creating OAuth2/PKCE auth interceptors entirely in
create_channel()
• Previously the SDK would attempt keyring access, token refresh, and OAuth2 metadata fetches even against servers that don't require auth • Adds two unit tests verifying auth interceptors are skipped when
insecure=True
Test plan •
uv run pytest tests/flyte/remote/test_auth.py -v
— new tests pass •
uv run pytest tests/flyte/remote/test_passthrough.py -v
— existing tests unaffected flyteorg/flyte-sdk