Updates callback path for authentication
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s

Updates the callback path for authentication to a relative path.

This change removes the hardcoded domain from the callback URL,
making the application more flexible and easier to deploy in
different environments.
This commit is contained in:
2025-08-16 22:05:44 +02:00
parent d3eb1bb66c
commit 9755e516d9

View File

@@ -53,7 +53,7 @@ builder.Services.AddAuthentication(o =>
o.SaveTokens = true;
// This must match exactly what you register at Tesla
o.CallbackPath = new PathString("https://automatic-parking.app/token-exchange");
o.CallbackPath = new PathString("/token-exchange");
// Scopes you actually need
o.Scope.Clear();