diff --git a/Source/ProofOfConcept/Program.cs b/Source/ProofOfConcept/Program.cs index 5952062..d8be6ce 100644 --- a/Source/ProofOfConcept/Program.cs +++ b/Source/ProofOfConcept/Program.cs @@ -285,7 +285,7 @@ if (app.Environment.IsDevelopment()) logger.LogCritical("User has access_token: {access_token} and refresh_token: {refresh_token}", access_token, refresh_token); if (String.IsNullOrEmpty(access_token)) - return Results.LocalRedirect("/Authorize"); + return Results.LocalRedirect("/Authorize?redirect=Tesla"); HttpClient client = httpClientFactory.CreateClient("InsecureClient"); client.BaseAddress = new Uri("https://tesla_command_proxy");