You are browsing as a guest. Sign up (or log in) to start making projects!

3h 41m 49s logged

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?

  1. The application generates a random secret.
  2. Before redirecting the user to the login page, it sends only a hashed version of that secret.
  3. After the user logs in, the application receives an authorization code.
  4. When exchanging the code for tokens, it sends the original secret.
  5. 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
 

New promoting picture I made in canva have a look

0
4

Comments 0

No comments yet. Be the first!