From 655de0477a8883b7a6d9febf7758853cea08bdb9 Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 15 Oct 2025 16:32:08 +0200 Subject: [PATCH] Volvo: fix OAuth authorization callback route compatibility (#24451) --- cmd/setup.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/setup.go b/cmd/setup.go index 35ed78c76..c15ec2497 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -1139,6 +1139,9 @@ func configureAuth(router *mux.Router, paramC chan<- util.Param) { handlers.AllowedHeaders([]string{"Content-Type"}), )) + // backwards-compatible revert of https://github.com/evcc-io/evcc/pull/21266 + router.PathPrefix("/oauth").Handler(auth) + // wire the handler providerauth.Setup(auth, paramC) }