As part of my login flow, I have an action that executes the following when a new user signs up:
Send a request with client id & client secret to an M2M Application in exchange for an access token
Use that access token to send a request to my API
This works. However, it appears I’m burning one access token from my allotted amount in my pricing tier with every user sign up, and if I released this implementation to production, we’d run out of access tokens in a very short period of time. Given my access tokens are configured to not expire for a few hours, what are my options? Is there somewhere I can cache the access token to reuse it in the next action execution? Or is there a way to configure the M2M application to give me the same access token as long as it does not expire within a few seconds? Thank you.