Matt Gibson
5d3fa0a0d2
Improve okta group performance ( #132 )
...
* Avoid unnecessary API calls to Okta
Filter excluded/included groups as early as possible to avoid using up
API calls and long waits
* Remove console timing calls
2021-06-11 11:10:29 -05:00
Oscar Hinton
6097bca063
Add jslib as a "real" dependency ( #127 )
...
* Split jslib
* Change hook to preinstall
* Install gyp (ci)
* Fix rebuild command
* Review comments
* Add tsconfig-paths-plugin to webpack.cli.
* Bump jslib
* Install old version of prebuild-install to bypass bug in pkg
2021-06-09 21:46:38 +02:00
Matt Gibson
56d05af07a
Use organization api key for auth ( #121 )
...
* Use api key for login
* Remove user login and organization setting
* Override Api authentication to expect organization keys
* Linter fixes
* Use public API
The organization api key is valid only in the public api scope
* Use organization api key in CLI utility
* Serialize storageService writes
* Prefer multiple awaits to .then chains
* Initial PR review
* Do not treat api key inputs as passwords
This conforms with how they are handled in CLI/web
* Update jslib
* PR feedback
2021-06-02 13:43:18 -05:00
Matt Gibson
ed8dd01dbd
Add option to bypass large import limit of 2000 users ( #119 )
...
* Add option to bypass large import limit of 2000 users
Also add orgId to last sync hash
* Update jslib
* PR review
* Update src/services/sync.service.ts
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com >
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com >
2021-05-20 11:59:54 -05:00
Oscar Hinton
f6b249836e
Bump dependencies ( #114 )
...
* Upgrade angular and webpack dependencies
* Bump microsoft-graph-client and googleapis
* Bump pkg-fetch in pipeline
* Bump jslib
2021-04-23 21:03:59 +02:00
Oscar Hinton
2ead70e434
Bump jslib ( #108 )
2021-04-07 20:42:39 +02:00
Thomas Rittson
090d5e82df
Send empty sync to server if overwriteExisting
2021-03-30 12:37:48 +10:00
Daniel James Smith
997ec5a699
Extend validation to handle emails up to 256 char
2021-03-25 18:39:05 +01:00
Daniel James Smith
762818ee39
Fix filtering unsupported users
2021-03-25 18:36:43 +01:00
Thomas Rittson
b4301c7d41
Fix handling of empty subject names in certs
2021-03-11 12:43:29 +10:00
Chad Scharf
2ab37b45cf
Don't check user group filter for deleted users
2021-03-05 15:49:57 -05:00
Matt Gibson
2583068dbd
Lock lowdb file ( #95 )
...
* Lock lowdb file when using. Do not allow caching
* Linter fixes
* Move to non-jslib lowdbstorage to allow for lockfile
* update jslib
* Must ensure db file exists prior to initialization
proper-lockfile throws if the file its locking does not exist
* update jslib
* Let base handle file initialization
2021-02-17 10:33:05 -06:00
Matt Gibson
e5d0b3a372
Update to commander 7 ( #94 )
...
* Upgrade to commander 7.0.0
* Match lint rules for typescript
* update jslib
2021-02-08 13:32:02 -06:00
Kyle Spearrin
af0e41e26c
dont catch api error and return false ( #93 )
2021-02-03 15:58:37 -05:00
Chad Scharf
77043d8d66
Merge pull request #44 from NitorCreations/filter_by_administrativeunit
...
Enable filtering Azure AD directory by administrative unit
2020-12-30 18:10:10 -05:00
Pasi Niemi
002117a6e5
Fix as per the comment about naming and visibility conventions
2020-12-30 22:53:49 +02:00
Chad Scharf
1ac0c81661
Fix lint errors/warnings
2020-10-19 13:50:08 -04:00
Pasi Niemi
5848553a4b
Merge remote-tracking branch 'upstream/master' into filter_by_administrativeunit
2020-09-24 12:36:32 +03:00
A Codeweavers Infrastructure Bod
4eb9c9bd4d
Fix for #55 ( #56 )
...
* Groups that reference all users in an organisation were not being populated
They now are, based on the "customer" member type. The null check for member.status is now not required as the property was only null for groups and now that comparison will not occur.
* If the user is not configured to sync users, but is syncing groups this errored with "users is not iterable"
* Update gsuite-directory.service.ts
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com >
2020-08-10 09:39:00 -04:00
Kyle Spearrin
2b2d8a9fab
CLI support for SSO Login ( #57 )
...
* sso login support
* fix build and lint issues
* allow web vault URL to be set
2020-08-04 14:19:53 -04:00
Kyle Spearrin
fb122cbbdb
fix okta paging ( #51 )
...
* fix okta paging
* remove okta package
* use node https instead of a library
* remove bent types
* add 500ms throttle to avoid rate limiter
2020-07-02 14:50:54 -04:00
Kyle Spearrin
0b37857d29
formatting fix
2020-07-02 13:32:08 -04:00
Kyle Spearrin
15c1876687
dont skip disbaled users if not removeDisabled ( #50 )
2020-07-01 16:15:32 -04:00
Kyle Spearrin
13ad64e6f3
if email field is not valid, try username
2020-06-22 10:43:55 -04:00
Kyle Spearrin
04e278249e
add support for email coming from username prop ( #47 )
...
* add support for email coming from username prop
* feedback adjustments
2020-06-22 10:28:06 -04:00
Kyle Spearrin
e12c4ea1e2
include all members of the group ( #46 )
2020-06-16 14:42:38 -04:00
Kyle Spearrin
acfa8632af
ignore case
2020-06-04 09:59:45 -04:00
Kyle Spearrin
f0f7f89ea8
null checks
2020-05-22 14:28:20 -04:00
Kyle Spearrin
059ff0647a
Added option to let user control the paged param ( #45 )
2020-05-19 12:16:30 -04:00
Kyle Spearrin
d94e5b0620
debug paged = false
2020-05-19 10:27:40 -04:00
Pasi Niemi
3840bce6d7
Enable filtering Azure AD directory by administrative unit
2020-05-19 08:00:25 +03:00
Kyle Spearrin
0575ee5507
skip null user emails
2020-05-04 08:35:39 -04:00
Kyle Spearrin
8b2fa8405b
add paging to group members api request
2020-04-24 11:25:00 -04:00
Kyle Spearrin
f7dd9d8d5b
filter unsupported user entries by email length
2020-03-27 10:36:41 -04:00
Kyle Spearrin
4e02a8571e
UserSelectParams for Azure AD
2020-03-13 23:15:39 -04:00
Kyle Spearrin
bc927a65ac
if no dc= in rootPath, just return pathPrefix
2020-03-13 10:12:17 -04:00
Kyle Spearrin
2640e8c890
onelogin directory implementation
2020-03-12 22:25:38 -04:00
Kyle Spearrin
fe39bdac42
remove request interceptor
2020-03-12 14:44:09 -04:00
Kyle Spearrin
2c98d50c43
remove old client ref
2020-03-12 12:53:26 -04:00
Kyle Spearrin
d374cff51c
stub out OneLogin connector
2020-03-12 12:42:04 -04:00
Kyle Spearrin
bf27872973
update jslib. tweaks to start tls
2020-03-04 11:31:35 -05:00
Colin Campbell
20bb5a4926
starttls: Support LDAP STARTTLS ( #33 )
...
* starttls: Support LDAP STARTTLS
* starttls: Re-roll to preserve old config
2020-03-04 11:08:47 -05:00
Kyle Spearrin
e6aa07ba5c
plaintext secrets env variable
2019-07-05 11:57:25 -04:00
Kyle Spearrin
53b0614faf
only set domain if it has value
2019-06-08 00:15:44 -04:00
Kyle Spearrin
a01db9c448
empty string check on customer
2019-06-08 00:11:29 -04:00
Kyle Spearrin
e7b988c042
trimLeft on gsuite key
2019-06-07 11:21:55 -04:00
Kyle Spearrin
976fcad098
overwriteExisting on org user import
2019-05-06 21:32:25 -04:00
Kyle Spearrin
b0247caa4c
getDeletedUsers for azure ad
2019-04-12 09:58:19 -04:00
Kyle Spearrin
f0282b33f0
add paging to members list api
2019-03-26 09:06:42 -04:00
Kyle Spearrin
f69d461463
move scope of filters for delUsers query
2019-03-26 09:02:35 -04:00