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

9h 28m 39s logged

Devlog 14

Soo…

  • Recently I saw that there was no way to add new devices (** facepalm **). From last devlog I created nice enrollment system that will require already verified device to accept new one before trusting it.
  • I’ve utilized JWT scopes for that, so client authenticated with enrollment token can only access specific endpoints.
    All of that probably sounds pretty easy but e g. I didn’t wanted to duplicate existing code, enrollment token is issued by same /login endpoint etc etc. basically it was quite a hustle.
    Hopefully, next devlog will be about how I integrated API with frontend (cross your fingers!)

BTW: test count jumped from 31 to 72 from last devlog so you can see how big is the difference!

0
3

Comments 0

No comments yet. Be the first!