question

jcy avatar image
jcy asked patriciacaballero answered

So... how long does the new access_token_expiration expire?

I use clover mini and rest api for my APP


I get these responses via OAuth v2 api

{

access_token,

access_token_expiration = 30 mins

refresh_token,

refresh_token_expiration = 1 year

}


But the actual expiration time of access_token is 24 hours

Which one should I believe?

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

ablightmed avatar image
ablightmed answered ablightmed edited

Trust the observed behavior, since you're consistently experiencing 24-hour expiration, it's safe to rely on that value for space waves your access token usage.


10 |2000

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

patriciacaballero avatar image
patriciacaballero answered

In some custom authentication systems, the expiration time might be configurable by the developers or administrators. This can range from a few minutes to several days or even longer, depending on security requirements and use cases. penalty shooters 2

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