netbird/client
Maycon Santos fd7282d3cf
Link account id with the external user store (#184)
* get account id from access token claim

* use GetOrCreateAccountByUser and add test

* correct account id claim

* remove unused account

* Idp manager interface

* auth0 idp manager

* use if instead of switch case

* remove unnecessary lock

* NewAuth0Manager

* move idpmanager to its own package

* update metadata when accountId is not supplied

* update tests with idpmanager field

* format

* new idp manager and config support

* validate if we fetch the interface before converting to string

* split getJWTToken

* improve tests

* proper json fields and handle defer body close

* fix ci lint notes

* documentation and proper defer position

* UpdateUserAppMetadata tests

* update documentation

* ManagerCredentials interface

* Marshal and Unmarshal functions

* fix tests

* ManagerHelper and ManagerHTTPClient

* further tests with mocking

* rename package and custom http client

* sync local packages

* remove idp suffix
2022-01-24 11:21:30 +01:00
..
cmd Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
internal Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
system fix: rename info package 2021-08-29 13:34:17 +02:00
testdata Fix concurrency on the client (#183) 2022-01-10 18:43:13 +01:00
ui Add windows installer (#109) 2021-09-06 10:20:26 +02:00
Dockerfile Support environment vars (#155) 2021-11-15 09:11:50 +01:00
installer.nsis Stop service before uninstall (#158) 2021-11-14 21:30:18 +01:00
main.go Enhance up command (#133) 2021-10-17 21:34:07 +02:00
manifest.xml Add windows installer (#109) 2021-09-06 10:20:26 +02:00
resources.rc Refactor Interface package and update windows driver (#192) 2022-01-17 14:01:58 +01:00
wireguard_nt.sh Refactor Interface package and update windows driver (#192) 2022-01-17 14:01:58 +01:00