Devlog
A small error from the last devlog: it’s PKCE, not PCKE. I had to rename a lot of variables because of that.
More customizable data
- Gearbox
- Model year
- More diagnostic data for lights (hazard, fog, brake, high beam, low beam, and more)
Other additions
- Added a new default API key with 3 cars, each having different values.
- Wrote more docs.
- Started working on scenarios (templates for new or existing cars to make setup faster). I’m thinking about loading them from a file so users can create their own.
- Started working on setting up OAuth2 through the dashboard.
- Fixed most command responses because when I first created them, I forgot to wrap everything inside
{ "data": {} }. - Added light options to the dashboard.
Working:
PKCE
How does it work?
- The application generates a random secret.
- Before redirecting the user to the login page, it sends only a hashed version of that secret.
- After the user logs in, the application receives an authorization code.
- When exchanging the code for tokens, it sends the original secret.
- The server checks whether it matches the previously received hash. If it does, the tokens are issued.
It normally protects from having the tokens stolen
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.