Skip to content

SNOW-2466263: OIDC Token Refresh flow not implemented  #1599

@sblackstone

Description

@sblackstone

The documentation I have linked below suggests that I use OIDC auth with Azure Kubernetes, however if I do this and sql db needs to open new connections after the token's expiration, I don't see any mechanism that would allow this to work - there is no refresh for the OIDC token.

Am I not supposed to use this driver as a long running pool? I'm not sure how to square these docs below with what I can find in the driver code and the experiments I've run.

https://docs.snowflake.com/en/user-guide/workload-identity-federation#authenticate-to-snowflake-using-an-openid-connect-oidc-issuer-from-microsoft-azure-kubernetes

Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!

  1. What version of GO driver are you using?
    1.17.0

  2. What operating system and processor architecture are you using?
    Linux/amd

  3. What version of GO are you using?
    1.25.3

4.Server version:* E.g. 1.90.1
9.33.0

  1. What did you do?

See above.

  1. What did you expect to see?

See above.

  1. Can you set logging to DEBUG and collect the logs?

Let me know if theres something you need on this.

Metadata

Metadata

Labels

bugErroneous or unexpected behaviourstatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions