Hi i am using meteorjs and a 3rd party api to create users on 3rd party's database.
I am getting access tokens with oauth2 and tokens have 2 hour expiry. After getting the access token with an async function I use it with couple of different methods.
However instead of calling an async function every time I need an access token, I would like to store it on server until it expires.
what is the best practice to store them securely and use it globally on the server?
many thanks in advance