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
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.