lovromazgon opened a new pull request, #801: URL: https://github.com/apache/iceberg-go/pull/801
Rework the REST catalog OAuth2 auth to cache tokens and refresh them lazily before expiry, avoiding failed requests due to stale tokens. The refresh chain follows the Iceberg REST spec: token exchange → exchange with Basic auth → refresh_token grant → client_credentials. Auth failures (401/403/419) trigger a forced refresh and single retry that re-applies headers and re-signs SigV4 requests. Add WithAudience and WithResource catalog options, sent on token exchange requests per the spec. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
