> This page is for SDKs, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.20.2

**`(fix):`** Fix OAuth token fetching to use GetOrFetch instead of GetToken.

## 1.20.1

**`(fix):`** Improve OAuth token fetching with concurrency protection and better error handling.
Multiple concurrent requests now share a single token fetch instead of each triggering
their own. Added nil pointer checks for OAuth responses and a 1-hour default expiry
fallback when the server doesn't provide an expires_in value.