Updates callback path for authentication
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
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:
@@ -53,7 +53,7 @@ builder.Services.AddAuthentication(o =>
|
|||||||
o.SaveTokens = true;
|
o.SaveTokens = true;
|
||||||
|
|
||||||
// This must match exactly what you register at Tesla
|
// 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
|
// Scopes you actually need
|
||||||
o.Scope.Clear();
|
o.Scope.Clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user