[PR #4737] [MERGED] Explicitly launch OpenID Connect authentication with ?autoLaunch=1 #4336

Closed
opened 2026-04-25 00:19:20 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4737
Author: @Yetangitu
Created: 10/9/2025
Status: Merged
Merged: 10/10/2025
Merged by: @advplyr

Base: masterHead: explicit_oidc_autolaunch


📝 Commits (1)

  • fc06aa2 Explicitly launch OpenID Connect authentication with ?autoLaunch=1

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 client/pages/login.vue (+2 -2)

📄 Description

This change extends OIDC authentication by enabling explicit redirection to the OAuth provider when navigating to the login page with the manual override parameter /login?autoLaunch=1.

Use case: directly launch audiobookshelf from within e.g. Nextcloud using the external sites app pointed at https://abs.example.org/login?autoLaunch=1 while keeping the possibility to use audiobookshelf standalone using its built-in authentication mechanism since Auto Launch is disabled in the OpenID Connect Authentication settings page. Assuming the username or mail address used in Nextcloud and audiobookshelf is identical the user will be logged in to his or her account no matter which method is used.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/4737 **Author:** [@Yetangitu](https://github.com/Yetangitu) **Created:** 10/9/2025 **Status:** ✅ Merged **Merged:** 10/10/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `explicit_oidc_autolaunch` --- ### 📝 Commits (1) - [`fc06aa2`](https://github.com/advplyr/audiobookshelf/commit/fc06aa2c788fd47957cffda3047eb2ef9f18c8ce) Explicitly launch OpenID Connect authentication with ?autoLaunch=1 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/pages/login.vue` (+2 -2) </details> ### 📄 Description This change extends OIDC authentication by enabling explicit redirection to the OAuth provider when navigating to the login page with the manual override parameter `/login?autoLaunch=1`. Use case: directly launch _audiobookshelf_ from within e.g. _Nextcloud_ using the external sites app pointed at `https://abs.example.org/login?autoLaunch=1` while keeping the possibility to use _audiobookshelf_ standalone using its built-in authentication mechanism since `Auto Launch` is disabled in the _OpenID Connect Authentication_ settings page. Assuming the username or mail address used in _Nextcloud_ and _audiobookshelf_ is identical the user will be logged in to his or her account no matter which method is used. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:19:20 +02:00
adam closed this issue 2026-04-25 00:19:20 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4336