Skip to content

Instantly share code, notes, and snippets.

@paramaggarwal
Last active April 9, 2023 18:08
Show Gist options
  • Save paramaggarwal/d7f321b4980ccc11499ccf2a15acbd2a to your computer and use it in GitHub Desktop.
Save paramaggarwal/d7f321b4980ccc11499ccf2a15acbd2a to your computer and use it in GitHub Desktop.
How to authorise Audible in Books app on macOS Big Sur

How to authorise Audible in Books app on macOS Big Sur

As of this writing the token auth flow is broken due to the following reasons:

  1. The country based override causes failure of the "Activate in iTunes" button to show up.
  2. Once the button exists, it attempts to open the Music app rather than the Books app.

Step 0

Before attempting any of this, go to Audible library and download your audiobook and open it, it will get added to Books app on macOS. Now try to play it and it will as for permission to authorise it.

Step 1

Now once the link opens in your browser, verify and edit the URL to have the following query parameters. Also for me, using .com domain works reliably rather than relying on individual country-based domains. This might require logging in again, but the credentials remain the same.

https://www.audible.com/player-auth-token

  • ipRedirectOverride=true
  • overrideBaseCountry=true
  • playerId=
  • playerManufacturer=itunes
  • playerModel=mac
  • playerType=software

Step 2

Once you get the above link to work and show the "Activate in iTunes" button, right click and do copy link. Now edit the itms:// part to instead be ibooks:// and try opening the link then.

Before: itms://www.audible.com/license/licenseForCustomerToken?customer_token=<token>
After: ibooks://www.audible.com/license/licenseForCustomerToken?customer_token=<token>

@t9toqwerty
Copy link

Thanks.

@sudoankit
Copy link

sudoankit commented Dec 31, 2021

Thanks. Works fine.

Step 1

https://www.audible.com/player-auth-token&ipRedirectOverride=true&overrideBaseCountry=true&playerId=........&playerType=software

Step 2 after this.

@dhirajgagrai
Copy link

Thanks. Changing the domain to .com did it for me. .in was showing me a blank page.

@sudoankit
Copy link

Update April, 2023:

  1. Step 0 as above
  2. Just change .in to .com. You don't need to do anything else, you'll get the "Activate in iTunes" button to show up now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment