Auth0 Home Blog Docs

Using storage/context in custom database scripts



Our custom connection script uses OAuth2 tokens (from a third party provider) when executing REST-calls. In an attempt to reduce the number of round trips to the authentication service, we’d like for the different scripts to share the long lived access token. It seems that the configuration object is read-only, so I was wondering if the Webtask context/storage available to the custom connection scripts. I’ve looked through the documentation and can’t see any reason why it shouldn’t be, or how to access it.