Commit Graph

19 Commits

Author SHA1 Message Date
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
b3fbbd3124 refresh tokens now working
Still investigating the best way to do a couple things, but we have something working
2021-12-07 16:29:50 -08:00
Grant Limberg
5095d73de3 moar better error handling 2021-12-03 16:32:27 -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
663a09b38d oidc stuff coming across the wire properly and generating a working login URL 2021-12-01 13:01:32 -08:00
Grant Limberg
73c186b111 add network_id extra param to auth flow 2021-12-01 09:27:30 -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
4cadfd736f move ffi code into its own file 2021-11-02 15:55:26 -07:00
Grant Limberg
1c7a5439d5 expose AuthInfo struct to external code
also get the auth URL
2021-10-29 16:04:19 -07:00
Grant Limberg
ebc4c898ff pass in csrf token & nonce (generated externally) 2021-10-29 15:43:39 -07:00
Grant Limberg
56cf874d99 slow progress 2021-10-29 15:31:23 -07:00
Grant Limberg
31888f5ef8 provide issuer URL, client ID and local web port to constructor
also construct the oidc client
2021-10-29 09:43:14 -07:00
Grant Limberg
0069b1bac3 we can start & stop a thread. so that's nice. 2021-10-28 09:29:33 -07:00
Grant Limberg
c689c0bd8c integrate with mac build system and add skeleton 2021-10-27 17:09:01 -07:00
Grant Limberg
271dfc0d2b initial rust oidc lib 2021-10-27 16:11:06 -07:00