# Using storage/context in custom database scripts

**URL:** <https://community.auth0.com/t/using-storage-context-in-custom-database-scripts/9833>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [March 7, 2018, 1:24pm UTC](https://community.auth0.com/t/using-storage-context-in-custom-database-scripts/9833 "2018-03-07T13:24:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chayoz](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@chayoz](https://community.auth0.com/u/chayoz)\
**Post date:** [March 7, 2018, 1:24pm UTC](https://community.auth0.com/t/using-storage-context-in-custom-database-scripts/9833/1 "2018-03-07T13:24:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2018, 4:59pm UTC](https://community.auth0.com/t/using-storage-context-in-custom-database-scripts/9833/2 "2018-12-17T16:59:02Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2018, 4:59pm UTC](https://community.auth0.com/t/using-storage-context-in-custom-database-scripts/9833/3 "2018-12-17T16:59:07Z")

</div>


