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

Handle clock mismatch for API signature #311

Open
AaronAtDuo opened this issue Jan 27, 2025 · 0 comments
Open

Handle clock mismatch for API signature #311

AaronAtDuo opened this issue Jan 27, 2025 · 0 comments

Comments

@AaronAtDuo
Copy link
Contributor

Detailed Description

Now that Duo Unix is including the datestamp in the API signature, API calls will fail if the server and Duo disagree too much on the current time. It would be useful to use the /ping endpoint to determine Duo's server time, and offset the datestamp accordingly, so that the API will still work for customers whose server time is a little off.

Use Case

Makes the API more accessible to customers.

Workarounds

Otherwise customers must keep their server time more in-line with Duo.

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