← Back to issue list

Document need to recreate token due to Ubuntu One migration (invalid macaroon)

View original Github issue

Metadata

Project
charmcraft
Number
#2806
Type
issue
State
open
Author
rene-oromtz
Labels
Status: Triaged Type: Documentation
Created
Updated
Closed
—

Current evaluation

Docs request: warn that Candid-issued macaroons become invalid after the Ubuntu One auth migration (#2760), so tokens must be recreated; triaged, tracked as CHARMCRAFT-719, awaiting a docs change.

Suggested action: keep open

Reason: The request is valid and already triaged: it carries the `Status: Triaged` and `Type: Documentation` labels and was converted to internal ticket CHARMCRAFT-719. The reporter pinpoints the cause (PR #2760, 'feat!: migrate from candid to Ubuntu One auth', merged in commit 9279665a, which invalidates Candid-issued tokens with 'BadRequest Invalid macaroon') and names concrete targets (release notes / the login command docs), so the change is small and well-scoped. It stays open because the only comment is an autogenerated Jira-sync message and no docs commit exists yet that resolves it; confidence is held down because repository inspection was unavailable to confirm whether the release notes already mention the migration, and the linked doc page lives on canonical.com rather than this repo.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 22 Complexity: 20 Confidence: 62 Actionability: 72

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Description ---- PR #2760 introduced a breaking change migrating from Candid to Ubuntu One that is now available from `latest/edge` channel. This creates the need to recreate the issued token that were initially retrieved from Candid as otherwise you'll get a `BadRequest Invalid macaroon` error. Since this is working as intended, I think its just a matter of documentation in the Release Notes and/or in the charmcraft login page as a warning. I decided to open the docs request given some of the `charming-actions` defaults to `latest/edge` so perhaps its easy to to miss on the first look. ### Document location https://canonical.com/juju/docs/charmcraft/4.3/reference/commands/login/

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 22
Complexity: 20
Confidence: 62
Actionability: 72
keep open Docs request: warn that Candid-issued macaroons become invalid after the Ubuntu One auth migration (#2760), so tokens must be recreated; triaged, tracked as CHARMCRAFT-719, awaiting a docs change.
stealth/space-bunny-alpha
Impact: 35
Quick Win: 26
Complexity: 18
Confidence: 95
Actionability: 90
keep open Triaged docs request to warn that Candid-issued macaroons become invalid after Charmcraft’s Ubuntu One migration, especially for latest/edge users, and must be recreated.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 35
Complexity: 14
Confidence: 94
Actionability: 85
keep open Charmcraft’s Candid-to-Ubuntu-One migration requires users to recreate existing tokens, but its 4.4 release notes omit this warning. The triaged documentation request is tracked internally as CHARMCRAFT-719.
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 34
Staleness: 35
Complexity: 15
Confidence: 80
Support Request: 10
keep open Documentation request to warn users about token recreation needed after Ubuntu One migration from Candid (PR #2760). Triaged, internal ticket CHARMCRAFT-719 created.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 10
Confidence: 90
Support Request: 20
keep open Documentation request to warn users about recreating authentication tokens after the Candid to Ubuntu One migration, which causes invalid macaroon errors. Currently triaged and tracked internally.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 10
Confidence: 90
Support Request: 75
needs triage Request to document token recreation requirement following the Candid to Ubuntu One migration, which causes invalid macaroon errors for existing tokens. Untriaged, awaiting maintainer review.

Update history

Date Change
updated
updated
created

Related work

  • Caused By: charmcraft#2760 (confidence 92%)

    The breaking auth migration PR (feat!: migrate from candid to Ubuntu One auth) is what invalidates existing macaroons and creates the documentation need.

Related issues

No related issues found above the similarity threshold.