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

Expired macaroons should be refreshed automatically #53

Open
shanepelletier opened this issue Jan 25, 2023 · 0 comments
Open

Expired macaroons should be refreshed automatically #53

shanepelletier opened this issue Jan 25, 2023 · 0 comments

Comments

@shanepelletier
Copy link
Contributor

The old behaviour of surl was to refresh expired macaroons whenever it received a "macaroon-needs-refresh" error; the new version of surl should support this so the macaroon never needs to be manually refreshed.

Here's the error returned by SCA when a macaroon needs refreshing, for future reference:

{"error_list": [{"message": "Expired macaroon (age: 103902 seconds)", "code": "macaroon-needs-refresh", "extra": {"age": 103902}}]}

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