I need to call my partner API which is OAuth enabled. Before calling the actual service,
I need to call the token generation service and with that access_token, I have to call the original service. My question is how to reuse the access_token, which is having 1 day of expiry in time. and how to check the validity of the token and where can I save the token? If the token is valid, I don't want to call the token service, if not I have to call the token service. Please suggest.