question

tejash avatar image
tejash asked David Marginian Deactivated answered

Can i cache authorization code or token?

Im building a food ordering app. I have built a webpage where the restaurant onboards by doing oauth authentication with clover. Now im bit confused on how to maintain the access_token. Since access_token has a life upto 1year. After 1year do i need to tell the restaurant to login once more. Can someone guide me on this.

MerchantOAuthAPI Token
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

You should be securely storing the token, if the merchant ever gets an auth failure you should have them re-auth.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community