Commit Graph

19 Commits

Author SHA1 Message Date
Grant Limberg
4151749dc9 Handle sso token exchange errors in zerotier client 2022-05-11 19:59:58 -07:00
Grant Limberg
aee9521c91 Add error handling for over sso seat limits 2022-05-11 19:43:29 -07:00
Grant Limberg
dac32f863e fix deadlock on sso network leave 2022-04-25 14:00:04 -07:00
Grant Limberg
1c464c2da1 fix potential cstring leaks 2022-04-15 09:16:02 -07:00
Grant Limberg
aa97aabb4e for now, only enable sso on certain platforms
mac, windows, linux x86/x86_64/aarch64
2022-02-01 11:07:37 -08:00
Grant Limberg
d719137565 temp workaround for oidc auth dropping issue
Add a method to "kick" the refresh thread and re-post the tokens in the case where the thread is somehow still running & controller pushes out an AUTH_REQUIRED.  This situation happens in a corner case still under investigation where the controller pushes out many copies of the network config repeatedly
2022-01-20 09:44:56 -08:00
Grant Limberg
057356a725 Just some comments 2021-12-16 22:07:17 -08:00
Grant Limberg
2293b0703f Can get Central JSON bundle back to zerotier-one window 2021-12-16 11:37:58 -08:00
Grant Limberg
df9a7497b1 refactor out the separate AuthInfo struct
consolidated everything into the single IDC struct.  Should help keep from rotating the pkce token as often & causing issues with the login window flapping
2021-12-15 14:16:17 -08:00
Grant Limberg
1192b1b422 refresh token run loop
Need central-side work to complete
2021-12-03 15:44:04 -08:00
Grant Limberg
43c528fdb6 Get expiry time out of access token & propagate 2021-12-03 11:32:29 -08:00
Grant Limberg
7a8c89be9d Post ID token to Central 2021-12-03 09:57:39 -08:00
Grant Limberg
4ce810b421 On our way to processing tokens 2021-12-01 16:57:18 -08:00
Grant Limberg
730482e62f encode network ID into sso state param 2021-12-01 15:02:21 -08:00
Grant Limberg
663a09b38d oidc stuff coming across the wire properly and generating a working login URL 2021-12-01 13:01:32 -08:00
Grant Limberg
6393a4beec progress 2021-11-30 14:22:25 -08:00
Grant Limberg
5f548705dd lots more refactoring 2021-11-29 14:11:29 -08:00
Grant Limberg
f8bf91426b . 2021-11-02 16:30:09 -07:00
Grant Limberg
4cadfd736f move ffi code into its own file 2021-11-02 15:55:26 -07:00