netbird/management/server/http
Maycon Santos fec3132585
Adding peer registration support to JWT (#305)
The management will validate the JWT as it does in the API
 and will register the Peer to the user's account.

New fields were added to grpc messages in management
 and client daemon and its clients were updated

Peer has one new field, UserID, 
that will hold the id of the user that registered it

JWT middleware CheckJWT got a splitter 
and renamed to support validation for non HTTP requests

Added test for adding new Peer with UserID

Lots of tests update because of a new field
2022-05-05 20:02:15 +02:00
..
handler Add User HTTP Endpoint to the Management service (#303) 2022-05-05 08:58:34 +02:00
middleware Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
server.go Add User HTTP Endpoint to the Management service (#303) 2022-05-05 08:58:34 +02:00