Change8

@vercel/oidc@3.8.0

📦 vercel-cliView on GitHub →
2 features🔧 1 symbols

Summary

This release introduces in-memory caching for exchanged OIDC tokens to improve performance and adds an option to skip this new cache mechanism via `skipTokenCache` on `awsCredentialsProvider`.

Migration Steps

  1. If relying on token exchange behavior where `jti` or cache-skipping flags were used without an `audience`, ensure these flags are now only provided when an `audience` is also specified.

✨ New Features

  • OIDC tokens are now cached in memory during exchange, keyed by token hash, audience, and jti, to reuse results and reduce calls to the token-exchange endpoint.
  • Added a `skipTokenCache` option to `awsCredentialsProvider` to bypass the token exchange cache.

Affected Symbols