Grant Limberg
672c58be01
Don't vendor packages for zeroidc ( #1885 )
3 years ago
Grant Limberg
936dda4773
Turn off autocrlf for rust source
...
Doesn't appear to play nice well when it comes to git and vendored cargo package hashes
3 years ago
Grant Limberg
047e327f01
Revert "set gitattributes for rust & cargo so hashes dont conflict on Windows"
...
This reverts commit 032dc5c108 .
3 years ago
Grant Limberg
032dc5c108
set gitattributes for rust & cargo so hashes dont conflict on Windows
3 years ago
dependabot[bot]
f0778860e5
Bump tokio from 1.24.1 to 1.24.2 in /zeroidc ( #1869 )
...
* Bump tokio from 1.24.1 to 1.24.2 in /zeroidc
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* vendor tokio update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grant Limberg <grant.limberg@zerotier.com>
3 years ago
dependabot[bot]
6aea546d6f
Bump bumpalo from 3.10.0 to 3.12.0 in /zeroidc ( #1857 )
...
* Bump bumpalo from 3.10.0 to 3.12.0 in /zeroidc
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* vendor bumpalo update to fix dependabot
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grant Limberg <grant.limberg@zerotier.com>
3 years ago
Grant Limberg
0ae09577f6
Client & Central Controller updates to support additonal OIDC features ( #1848 )
...
Client side:
* Fix compatibility with OneLogin
* Requested scopes vary by OIDC provider. Different providers have different
Controller side:
*Update Postgres queries to latest Central schema
* Added Central Controller support for the different providers
* Base OIDC provider details are still attached to an org. Client ID & group/email lists are now associated with individual networks.
3 years ago
Brenton Bostick
be95b56c10
fix typos ( #1846 )
3 years ago
Grant Limberg
a59626c971
Bump zeroidc dependencies ( #1847 )
...
openidconnect -> 2.5
base64 -> 0.21
url -> 2.3
bytes -> 1.3
3 years ago
Sean OMeara
67a7534c21
cargo update tokio >= 1.24 ( #1842 )
3 years ago
Grant Limberg
9826c20d1a
set zeroidc.running = false on token exchange error
4 years ago
Grant Limberg
64a5e0d93f
sso error handling
4 years ago
Adam Ierymenko
457b5d2fe8
Windows build fixes, advanced installer upgrade
4 years ago
Grant Limberg
1300cf23c5
Use fixed copy of JWT library until upstream merges
4 years ago
Grant Limberg
ff8da9d246
Play with online notification timing again
4 years ago
Grant Limberg
5a8d2c3cb4
Set running flag to false if falling out of oidc run loop
4 years ago
Adam Ierymenko
addc327f17
More blanket ignores.
4 years ago
Adam Ierymenko
f2c12d548d
More blanket gitignores messing up vendored deps.
4 years ago
Adam Ierymenko
ef36acb970
Fix vendored files.
4 years ago
Adam Ierymenko
d5ca4e5f52
RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
4 years ago
Adam Ierymenko
38058450ce
Revise Windows build to VS2022.
4 years ago
Grant Limberg
b329fb68a9
Cleanup rust-analyzer warnings
4 years ago
Grant Limberg
da179d9930
Clean up error flow for sso
...
error messages can now propagate to the user's browser
4 years ago
Grant Limberg
e7fee4c6ce
code cleanup
4 years ago
Grant Limberg
4151749dc9
Handle sso token exchange errors in zerotier client
4 years ago
Grant Limberg
aee9521c91
Add error handling for over sso seat limits
4 years ago
Adam Ierymenko
166c7978ee
ALMOST compiles for ARM64 Windows, only remaining barrier is ring in zeroidc.
4 years ago
Grant Limberg
dac32f863e
fix deadlock on sso network leave
4 years ago
Grant Limberg
1c464c2da1
fix potential cstring leaks
4 years ago
Grant Limberg
5fcaed086d
another at->idt for exp
4 years ago
Grant Limberg
130689d82b
remove extraneous debug log line
4 years ago
Grant Limberg
1efceb86fc
get exp time out of correct token
4 years ago
Grant Limberg
1d92974447
auth0 compatibility
4 years ago
Grant Limberg
de56f571c7
enable rfc3339 timestamps in oidc library for auth0
4 years ago
Grant Limberg
3670b8cefd
another at->idt for exp
4 years ago
Grant Limberg
425f5201a2
remove extraneous debug log line
4 years ago
Grant Limberg
df3b29e6ff
get exp time out of correct token
4 years ago
Grant Limberg
96a49bf476
auth0 compatibility
4 years ago
Grant Limberg
2d975f275c
enable rfc3339 timestamps in oidc library for auth0
4 years ago
Adam Ierymenko
7efb1cf7d3
Bundle Edge WebView dependency EXE and statically link MSVC DLLs
4 years ago
Grant Limberg
73ec8cddd7
Show sso errors on the last step of the oidc process
4 years ago
Grant Limberg
3f19e7d73c
Show sso errors on the last step of the oidc process
4 years ago
Grant Limberg
aa97aabb4e
for now, only enable sso on certain platforms
...
mac, windows, linux x86/x86_64/aarch64
4 years ago
Grant Limberg
b7952d7f39
no longer need direct import of serde here either
4 years ago
Grant Limberg
c380a4e4bd
cleanup
4 years ago
Grant Limberg
9c487cbfb8
Remove jsonwebtoken package dependency
...
Replaced with rust-jwt. `jsonwebtoken` relies on the ring package which explodes on non-x86/x64 architectures
4 years ago
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
4 years ago
Grant Limberg
3d4d087f07
make some impl functions pub
4 years ago
Grant Limberg
953e62f103
Clean up some extraneous output in release mode
4 years ago
Grant Limberg
8ea192fcab
update dependency specs
4 years ago