dataverse-client-javascript
dataverse-client-javascript copied to clipboard
Feature request: custom config for retrieving bearer token
We'd like to have a bearer token configuration that is more flexible than the current bearerTokenLocalStorageKey, for example, by allowing a custom function to retrieve the bearer token.
Our app uses @axa-fr/react-oidc, which stores the access token within a JSON object in local storage, not a simple string. This is not supported by bearerTokenLocalStorageKey.