Adds application authorization endpoint
All checks were successful
Build, Push and Run Container / build (push) Successful in 32s

Implements the /Authorize endpoint to redirect users to the Tesla
authentication page. This allows users to grant the application
permission to access their Tesla account data.

Updates the public key resource to be copied on build, ensuring
it is always available at runtime.

Adds logic to validate the application registration by comparing the
public key retrieved from the Tesla API with the public key stored
locally.
This commit is contained in:
2025-08-13 22:29:48 +02:00
parent 1b8fda32d9
commit 8c801c88ce
3 changed files with 71 additions and 7 deletions

View File

@@ -31,7 +31,7 @@
<ItemGroup>
<None Update="Resources\Signature\public-key.pem">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>