Storing token values in custom database script

Hi there,

I am trying to call my custom API endpoint in the get and login script. The token validation is needed to call each endpoint. The problem is I have to call my token twice while executing in get and login script. Is there a way we can store token in get and utilized in login script. Any suggestion will be highly appreciated

Hi @anish.subedi,

There isn’t a built-in caching mechanism in custom database scripts. However, database action scripts are often executed in the same container and you can use the global object to share non-user-specific data.

More info here: Custom Database Action Script Environment Best Practices

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.