netbird/management/server
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
..
http Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
idp Add User HTTP Endpoint to the Management service (#303) 2022-05-05 08:58:34 +02:00
jwtclaims Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
migration Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
mock_server Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
testdata Fix IDP Manager config structs with correct tags (#253) 2022-03-09 17:22:47 +01:00
account_test.go Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
account.go Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
config.go Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
file_store_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
file_store.go Feat peer groups (#304) 2022-05-03 16:02:51 +02:00
group.go Feat peer groups (#304) 2022-05-03 16:02:51 +02:00
grpcserver.go Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
management_proto_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
network.go Persist Network Serial to Store to avoid outdated netmap sent (#260) 2022-03-10 18:18:38 +01:00
peer_test.go Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
peer.go Adding peer registration support to JWT (#305) 2022-05-05 20:02:15 +02:00
setupkey_test.go feature: add update setup key endpoint 2021-08-20 22:33:43 +02:00
setupkey.go fix: minor HTTP bugs 2021-08-25 14:16:17 +02:00
store.go Group users of same private domain (#243) 2022-03-01 15:22:18 +01:00
turncredentials_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
turncredentials.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
updatechannel_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
updatechannel.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
user.go Add User HTTP Endpoint to the Management service (#303) 2022-05-05 08:58:34 +02:00