Commit Graph

10 Commits

Author SHA1 Message Date
f049d023c9 Adds Tesla API integration
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
Adds an endpoint to interact with the Tesla API via a command proxy.

This includes fetching vehicle information and configuring telemetry settings. It introduces new models to represent the Tesla API responses and request structures.
2025-08-17 12:03:26 +02:00
06514e2929 Refactors Tesla OIDC configuration retrieval
All checks were successful
Build, Push and Run Container / build (push) Successful in 23s
Replaces the default document retriever with a custom implementation.

This change simplifies the configuration by embedding the HTTP document retriever directly within the custom retriever, and centralizes the URL replacement logic for Tesla's OIDC configuration. This avoids injecting the HttpDocumentRetriever into the TeslaDocumentRetriever constructor and makes the code more maintainable.
2025-08-17 00:35:34 +02:00
8442fb8f05 Updates Tesla OIDC address.
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
Updates the Tesla OIDC address to use the production environment.

This ensures that the application uses the correct endpoint for authentication
and avoids issues related to using the development environment in production.
2025-08-17 00:33:48 +02:00
9b96072982 Removes unused object instantiation
All checks were successful
Build, Push and Run Container / build (push) Successful in 23s
Removes the unnecessary instantiation of the OpenIdConnectConfigurationRetriever. The object is instantiated directly in the ConfigurationManager constructor, making the explicit instantiation redundant.
2025-08-17 00:32:05 +02:00
944256940f Fix
Some checks failed
Build, Push and Run Container / build (push) Failing after 17s
2025-08-17 00:16:16 +02:00
890162394d Configures Tesla OIDC endpoints dynamically
All checks were successful
Build, Push and Run Container / build (push) Successful in 23s
Configures the Tesla OIDC endpoints using the base URL
to dynamically set authorization, token, JWKS URI, end
session, and user info endpoints. This eliminates the need
for a URL override function and centralizes the endpoint
configuration logic.
2025-08-16 23:37:14 +02:00
a192f1380b Configures OIDC with explicit endpoints
All checks were successful
Build, Push and Run Container / build (push) Successful in 24s
Configures the OpenID Connect (OIDC) authentication flow by
explicitly setting the authorization, token, JWKS, end session, and
user info endpoints.

This change removes the custom OIDC configuration manager and
directly sets the configuration within the OIDC options. This approach
simplifies the configuration and ensures that the application uses
the correct endpoints for authentication and authorization with the
third-party provider.
2025-08-16 23:31:35 +02:00
df60b4cda5 Enhances Tesla OIDC authentication
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
Improves authentication by adding a signing key resolver and overriding the token endpoint.

This change ensures proper validation of Tesla's OIDC tokens by fetching the signing keys from the issuer's `certs` endpoint and caching them. It also configures the token endpoint required for Tesla authentication.
2025-08-16 22:54:56 +02:00
31f823b51f Configures Tesla OpenID Connect authentication
All checks were successful
Build, Push and Run Container / build (push) Successful in 24s
Implements authentication against the Tesla Fleet API using OpenID Connect.

Uses a custom OIDC configuration manager to override the token endpoint.
Configures authentication services and adds required scopes and parameters.
Adds endpoints for application registration and token retrieval during development.
2025-08-16 22:01:32 +02:00
183d71e203 POC big step
Some checks failed
Build, Push and Run Container / build (push) Failing after 33s
2025-08-12 16:48:16 +02:00