Campfire supports logging in via OpenID Connect (OIDC) using Audiobookshelf's built-in OAuth integration. To make this work, the Campfire redirect URI must be registered in Audiobookshelf.
campfireaudiobooks://oauth
This is a custom Android URI scheme. When the OAuth provider redirects back after authentication, Android routes the URI to Campfire automatically via an intent filter.
Audiobookshelf requires the mobile redirect URI to be explicitly allowed.
- Log in as an admin and go to Settings > Authentication.
- Under the OpenID Connect section, locate the Mobile Redirect URIs (or Allowed Redirect URIs) field.
- Add the following URI:
campfireaudiobooks://oauth - Save your settings.
The exact field name may differ slightly across Audiobookshelf versions. Look for a setting that controls which redirect URIs are accepted for mobile or native app clients.
- Campfire calls Audiobookshelf's
/auth/openidendpoint to retrieve the OAuth provider's authorization URL. - The user is taken to the OAuth provider's login page in a browser tab.
- After a successful login, the provider redirects to
campfireaudiobooks://oauthwith an authorization code. - Android's intent filter routes that URI back to Campfire.
- Campfire exchanges the code for access and refresh tokens via Audiobookshelf.