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:
The old behaviour of
surl
was to refresh expired macaroons whenever it received a "macaroon-needs-refresh" error; the new version ofsurl
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}}]}