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/loginendpoint 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!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.