[PR #1616] [CLOSED] feat(oauth): add --oauth-host parameter for custom redirect host #1459

Closed
opened 2026-02-27 20:02:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/1616
Author: @root4loot
Created: 10/23/2025
Status: Closed

Base: devHead: feat/oauth-host


📝 Commits (3)

  • 1c9ee5c feat(oauth): add --oauth-host parameter for custom redirect host
  • 93ebe4e fix(oauth): update tests for 0.0.0.0 binding
  • 580de38 fix(oauth): apply cargo fmt to tests

📊 Changes

3 files changed (+72 additions, -25 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 oauth/src/lib.rs (+47 -24)
📝 src/main.rs (+23 -1)

📄 Description

Adds --oauth-host flag where OAuth now binds 0.0.0.0 to support Docker/WSL2 port forwarding scenarios. Defaults to 127.0.0.1


🔄 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/librespot-org/librespot/pull/1616 **Author:** [@root4loot](https://github.com/root4loot) **Created:** 10/23/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/oauth-host` --- ### 📝 Commits (3) - [`1c9ee5c`](https://github.com/librespot-org/librespot/commit/1c9ee5cfa590bbf8798d7d31d9ca2f10cdb4851c) feat(oauth): add --oauth-host parameter for custom redirect host - [`93ebe4e`](https://github.com/librespot-org/librespot/commit/93ebe4e3b866cf4d1419a82c9a42121c9d7d1c99) fix(oauth): update tests for 0.0.0.0 binding - [`580de38`](https://github.com/librespot-org/librespot/commit/580de3869472662767089f62684c2465be7e2f5c) fix(oauth): apply cargo fmt to tests ### 📊 Changes **3 files changed** (+72 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `oauth/src/lib.rs` (+47 -24) 📝 `src/main.rs` (+23 -1) </details> ### 📄 Description Adds `--oauth-host` flag where OAuth now binds `0.0.0.0` to support Docker/WSL2 port forwarding scenarios. Defaults to `127.0.0.1` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:02:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#1459
No description provided.