Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OVERLAP_DURATION not getting set for small values #24

Open
bimal-gupta opened this issue May 2, 2024 · 0 comments
Open

OVERLAP_DURATION not getting set for small values #24

bimal-gupta opened this issue May 2, 2024 · 0 comments

Comments

@bimal-gupta
Copy link

bimal-gupta commented May 2, 2024

Have observed that expire_previous_secrets_at is not being set in [POST] https://clients.oauth.cimpress.io/v1/clients/{client_id}/secrets/ when OVERLAP_DURATION is set for small values such as P0D, PT1S, PT0S. Verified the above behavior by checking entries at below endpoint:

[GET] https://clients.oauth.cimpress.io/v1/clients/{client_id}/secrets/

Also in addition to above, the previous cached token is not refreshed even if the expiry was instantenous.

The OVERLAP_DURATION seems to be working for PT5M. Maybe the value is becoming a past timestamp by the time API call goes through, just my guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant