Implement local Bose Spotify OAuth token handling and fix linting issues in tests (#119)

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
Tobias Gesellchen
2026-03-18 23:22:32 +01:00
committed by GitHub
co-authored by Junie
parent ba11394d0f
commit 6cf511e7e5
3 changed files with 206 additions and 0 deletions
+2
View File
@@ -724,6 +724,8 @@ func setupRouter(server *handlers.Server) *chi.Mux {
})
r.Route("/oauth", func(r chi.Router) {
r.Post("/device/{deviceID}/music/musicprovider/15/token/cs3", server.HandleBoseSpotifyToken)
r.Post("/device/{deviceID}/music/musicprovider/15/token", server.HandleBoseSpotifyLegacyToken)
r.HandleFunc("/*", server.HandleBoseProxy)
})