From 9755e516d9cf9e7ab60c41422d7fd8946bc6df63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szak=C3=A1ts=20Alp=C3=A1r=20Zsolt?= Date: Sat, 16 Aug 2025 22:05:44 +0200 Subject: [PATCH] Updates callback path for authentication 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. --- Source/ProofOfConcept/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ProofOfConcept/Program.cs b/Source/ProofOfConcept/Program.cs index 47f4f41..a30560c 100644 --- a/Source/ProofOfConcept/Program.cs +++ b/Source/ProofOfConcept/Program.cs @@ -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();