← Back to issue list

Refresh discharge macaroon if necessary

View original Github issue

Metadata

Project
snapcraft
Number
#805
Type
pull request
State
merged
Author
cjwatson
Labels
—
Created
Updated
Closed

Current evaluation

Merged in snapcraft#805 (60b7ef044), refreshing the SSO discharge macaroon when WWW-Authenticate returns needs_refresh=1; addresses LP #1621171.

Resolution: closed resolved

Reason: PR #805 was merged into snapcraft as commit 60b7ef044. It implements the requested discharge-macaroon refresh and references LP bug #1621171.

Evaluated by: mr-cal-bot

No scores available.

Issue body

"WWW-Authenticate: Macaroon needs_refresh=1" tells us that we need to ask SSO to refresh our discharge macaroon, so do that. LP: #1621171

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#805 (60b7ef044), refreshing the SSO discharge macaroon when WWW-Authenticate returns needs_refresh=1; addresses LP #1621171.
stealth/space-bunny-alpha — closed resolved Merged PR #805 as commit 60b7ef044, refreshing the SSO discharge macaroon when needs_refresh=1 is returned; fixes Launchpad #1621171.
stealth/space-bunny-alpha — closed resolved Merged PR #805 (commit 60b7ef044) to refresh the SSO discharge macaroon when needed_refresh=1 is returned, addressing LP #1621171.
qwen/qwen3.6-35b-a3b — — Merged after approval. Implements automatic SSO discharge macaroon refresh when the server returns a needs_refresh=1 directive, resolving LP #1621171. Changes span 5 files with 160 additions and 22 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged to handle SSO needs_refresh=1 responses by automatically refreshing the discharge macaroon. Approved by sergiusens and resolved LP #1621171.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1621171 snapcraft doesn't refresh the macaroon snapcraft (launchpad) closed Merged snapcore/snapcraft PR #805 as commit 60b7ef044, adding discharge-macaroon refresh so expired credentials are renewed and authorization errors are reduced.
78%