Volvo: fix OAuth authorization callback route compatibility (#24451)

This commit is contained in:
andig 2025-10-15 16:32:08 +02:00 • committed by GitHub
parent 6cadfd9730
commit 655de0477a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}