Generic OAuth Provider bridge. Expects an asynchronous callback that returns an active Access Token. It is up to the developer to provide a callback that handles token refreshing (e.g. using oidc-client-ts or a custom fetch).
Generates the structured auth headers by invoking the dynamic OAuth fetcher callback.
A promise resolving to the headers record.
Generic OAuth Provider bridge. Expects an asynchronous callback that returns an active Access Token. It is up to the developer to provide a callback that handles token refreshing (e.g. using oidc-client-ts or a custom fetch).