Skip to content

Explain the Audible username link in the login window - #2171

Merged
Mbucari merged 1 commit into
rmcrackan:masterfrom
Dominik-O22:username-login-hint
Nov 18, 2026
Merged

Mbucari merged 1 commit into
rmcrackan:masterfrom
Dominik-O22:username-login-hint

Conversation

@Dominik-O22

Copy link
Copy Markdown
Contributor

Accounts that sign in with an old Audible username can't log in from the embedded browser when their locale is a normal one like us (#2169). Amazon's sign-in page links "Sign in with an Audible Username" to audible://view?section=authportal&pageType=private. Only the Audible Android app opens that, so in Libation the click does nothing. The pre-amazon audible.com page has the same kind of link back to Amazon sign-in (pageType=public).

Both login dialogs now cancel audible:// navigations and show a message instead. For the username link, it says to set the account's Locale to pre-amazon - us, uk or germany and put the username in "Audible email/login". For the reverse link, it says to pick a non-pre-amazon locale. The text lives in LibationUiBase/AudibleAppLinkMessage.cs so both UIs share it.

The prefill script also fills the pre-amazon page's username field (#ap_email). The old selector only matched the Amazon email field (#ap_email_login). It now leaves a field alone if it already has a value.

Evidence:

  • Ran Chardonnay on Linux (WebKitGTK) against the live sign-in pages. Clicking the username link logs WebView navigation started: audible://view/?section=authportal&pageType=private and shows the message. On a pre-amazon - us account, the username is prefilled and the reverse link shows the other message.
  • Added AudibleAppLinkMessageTests. LibationUiBase.Tests passes, and both UIs build. I couldn't run the WinForms WebView2 path on Windows.

Reviewed with review-loop: 2 rounds with Claude Opus. Verdict: approved

🤖 Generated with Claude Code

Audible's Android sign-in page links "Sign in with an Audible Username"
to audible://view?section=authportal&pageType=private, which only the
Audible app opens. In the embedded browser the click did nothing, so
username accounts set to a normal region had no way forward (rmcrackan#2169).

Both login dialogs now cancel audible:// navigations and tell the user
to switch the account to a pre-amazon locale, or back to a normal one
for the reverse link. The prefill script also fills the pre-amazon
username field (#ap_email), which it missed before, and no longer
overwrites a field that already has a value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@wtanksleyjr wtanksleyjr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this will be of only short-term use because Audible is ending support for these accounts, but while they're still here let's make them easy to use. We may also get some new users who want to just bail out of Audible.

@Mbucari
Mbucari merged commit 20cc4e7 into rmcrackan:master Nov 18, 2026
12 checks passed
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

Successfully merging this pull request may close these issues.

3 participants