Skip to content

prepare for v2.3rc1 release #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 214 commits into from
Nov 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
7a97fd3
dynamically get connector module type from directory connector config…
adorton-adobe Mar 16, 2017
ef670bd
Basic working Okta Connector
bhunut-adobe Mar 16, 2017
e4c5083
Merge pull request #10 from bhunut-adobe/okta
adorton-adobe Mar 16, 2017
62942ac
Minor changes to okta connector.
bhunut-adobe Mar 17, 2017
d1a856c
Include Okta to example config files
bhunut-adobe Mar 17, 2017
06ee589
Merge pull request #12 from bhunut-adobe/okta
adorton-adobe Mar 17, 2017
a816699
resolve #3 - add modified Okta SDK depedency
adorton-adobe Mar 17, 2017
9fbb70e
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 17, 2017
9ddaa89
fix okta requirements file
adorton-adobe Mar 17, 2017
a7a3385
Merge pull request #1 from adorton-adobe/okta
bhunut-adobe Mar 17, 2017
4d5192b
Remove support for UserEmail,Domain,UserName formatter and add except…
bhunut-adobe Mar 17, 2017
771723d
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
3dfad82
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 20, 2017
a7d5ee4
only add https to okta URL if it isn't there
adorton-adobe Mar 20, 2017
b867036
Latest okta whl - adding support for extend attribute
bhunut-adobe Mar 20, 2017
478c278
Added support for Extension Hook
bhunut-adobe Mar 20, 2017
5cbc0d7
Removed unnecessary methods
bhunut-adobe Mar 20, 2017
d0ce454
Fixed Syntax issue in directory_okta.py
bhunut-adobe Mar 20, 2017
6ea824c
Merge branch 'okta' of https://github.com/bhunut-adobe/user-sync.py i…
adorton-adobe Mar 20, 2017
837342d
Merge branch 'bhunut-adobe-okta' into okta
adorton-adobe Mar 20, 2017
504456d
Merge pull request #2 from adorton-adobe/okta
bhunut-adobe Mar 20, 2017
0fb380f
Fixed Multiple Group found issue and Warning message about identityty…
bhunut-adobe Mar 20, 2017
6817441
Merge pull request #16 from bhunut-adobe/okta
adorton-adobe Mar 21, 2017
66504b0
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 21, 2017
dcc8782
Merge branch 'okta' of https://github.com/adorton-adobe/user-sync.py …
adorton-adobe Mar 21, 2017
6025912
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 21, 2017
e2030db
Merge pull request #3 from adorton-adobe/okta
bhunut-adobe Mar 21, 2017
b03462a
Updated identitytype to identity_type in directory_okta.py to match w…
bhunut-adobe Mar 21, 2017
57d9c0c
Merge pull request #17 from bhunut-adobe/okta
adorton-adobe Mar 21, 2017
7c1f131
Add okta dependency to Makefile (resolve #13)
adorton-adobe Mar 22, 2017
aa50db0
add okta to setup.py
adorton-adobe Mar 22, 2017
2f6d428
fix dependency syntax
adorton-adobe Mar 22, 2017
72ddea2
Updated Okta Python Whl
bhunut-adobe Mar 22, 2017
f9495f6
Merge pull request #4 from adorton-adobe/okta
bhunut-adobe Mar 22, 2017
ad5e527
Merge pull request #19 from bhunut-adobe/okta
adorton-adobe Mar 22, 2017
ec2def7
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 23, 2017
2b371de
Merge pull request #5 from adorton-adobe/okta
bhunut-adobe Mar 23, 2017
2bff0dd
start Okta documentation
adorton-adobe Mar 23, 2017
9e5b610
add config options to Okta doc
adorton-adobe Mar 23, 2017
1da2181
add config example and additional information to Okta doc
adorton-adobe Mar 23, 2017
59fb888
okta doc tweaks
adorton-adobe Mar 24, 2017
5ddede2
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 24, 2017
1855894
Merge pull request #6 from adorton-adobe/okta
bhunut-adobe Mar 24, 2017
1399b39
make some tweaks to arch diagram
adorton-adobe Mar 24, 2017
98aec05
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 25, 2017
65652ac
idiomatic python
adorton-adobe Mar 25, 2017
8a59ea7
add master file for arch diagram
adorton-adobe Mar 25, 2017
937aeec
Merge branch 'update-arch-diagram' into okta
adorton-adobe Mar 27, 2017
8f594e2
Refactor okta connector to get users by group
adorton-adobe Mar 28, 2017
1da088d
Merge pull request #7 from adorton-adobe/okta
bhunut-adobe Mar 28, 2017
e27cf50
Okta Python SDK updated to support pagination of group membership
bhunut-adobe Mar 28, 2017
650987b
don't set username field
adorton-adobe Mar 28, 2017
0324c6e
Merge pull request #9 from adorton-adobe/okta
bhunut-adobe Mar 28, 2017
a412eb1
Fixed Okta SDK result limit of 200 records
bhunut-adobe Mar 28, 2017
d7551d5
Merge pull request #33 from bhunut-adobe/okta
adorton-adobe Mar 29, 2017
6ec0041
don't break CSV compatibility
adorton-adobe Mar 29, 2017
4829a6e
Merge remote-tracking branch 'upstream/v1' into okta
adorton-adobe Mar 29, 2017
44f1173
bump umapi-client version in requirements.txt to match version in set…
adorton-adobe Mar 29, 2017
a4744cf
umapi-client should be 2.2
adorton-adobe Mar 29, 2017
f5303b6
merge initial 2.0 changes
adorton-adobe Apr 3, 2017
4f28fb7
Merge remote-tracking branch 'upstream/v2' into okta
adorton-adobe Apr 3, 2017
d947768
Fixed #37 and #38
bhunut-adobe Apr 3, 2017
a1bb4f9
added Test case for OKTAValueFormatter class
shasibhusanJena Apr 4, 2017
4aa6f38
dynamically get connector module type from directory connector config…
adorton-adobe Mar 16, 2017
bcf56a7
Basic working Okta Connector
bhunut-adobe Mar 16, 2017
673e05e
Minor changes to okta connector.
bhunut-adobe Mar 17, 2017
649f884
Include Okta to example config files
bhunut-adobe Mar 17, 2017
4071fee
resolve #3 - add modified Okta SDK depedency
adorton-adobe Mar 17, 2017
c13cd9c
fix okta requirements file
adorton-adobe Mar 17, 2017
2dbf504
Remove support for UserEmail,Domain,UserName formatter and add except…
bhunut-adobe Mar 17, 2017
ad71d7a
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
3a8933c
only add https to okta URL if it isn't there
adorton-adobe Mar 20, 2017
4bc1ac9
Latest okta whl - adding support for extend attribute
bhunut-adobe Mar 20, 2017
7f4ea17
Added support for Extension Hook
bhunut-adobe Mar 20, 2017
68b6efd
Removed unnecessary methods
bhunut-adobe Mar 20, 2017
6314771
Fixed Syntax issue in directory_okta.py
bhunut-adobe Mar 20, 2017
a4f5898
Fixed Multiple Group found issue and Warning message about identityty…
bhunut-adobe Mar 20, 2017
ff142c6
Updated identitytype to identity_type in directory_okta.py to match w…
bhunut-adobe Mar 21, 2017
9fb6070
Add okta dependency to Makefile (resolve #13)
adorton-adobe Mar 22, 2017
b7e4be6
add okta to setup.py
adorton-adobe Mar 22, 2017
0d9f0bb
fix dependency syntax
adorton-adobe Mar 22, 2017
4d85991
Updated Okta Python Whl
bhunut-adobe Mar 22, 2017
44ad029
start Okta documentation
adorton-adobe Mar 23, 2017
99bbc29
add config options to Okta doc
adorton-adobe Mar 23, 2017
de411cc
add config example and additional information to Okta doc
adorton-adobe Mar 23, 2017
2abf222
okta doc tweaks
adorton-adobe Mar 24, 2017
81adb65
idiomatic python
adorton-adobe Mar 25, 2017
3d244ab
Refactor okta connector to get users by group
adorton-adobe Mar 28, 2017
1912bac
Okta Python SDK updated to support pagination of group membership
bhunut-adobe Mar 28, 2017
a8ace58
don't set username field
adorton-adobe Mar 28, 2017
100720b
Fixed Okta SDK result limit of 200 records
bhunut-adobe Mar 28, 2017
90f8f25
don't break CSV compatibility
adorton-adobe Mar 29, 2017
990480e
bump umapi-client version in requirements.txt to match version in set…
adorton-adobe Mar 29, 2017
627160b
umapi-client should be 2.2
adorton-adobe Mar 29, 2017
89108cb
Fixed #37 and #38
bhunut-adobe Apr 3, 2017
ce623f5
Merge branch 'okta' of https://github.com/adorton-adobe/user-sync.py …
adorton-adobe Apr 5, 2017
3d87835
Merge remote-tracking branch 'upstream/v2' into okta
adorton-adobe Apr 6, 2017
35c9236
Merge pull request #10 from adorton-adobe/okta
bhunut-adobe Apr 6, 2017
bf21dcf
Merge pull request #39 from shasibhusanJena/okta
adorton-adobe Apr 6, 2017
31609a7
resolve #34
adorton-adobe Apr 6, 2017
348ff1a
1st error handling unit test for okta module
adorton-adobe Apr 7, 2017
f736125
Merge pull request #12 from adorton-adobe/okta
bhunut-adobe Apr 10, 2017
11bcec0
Added Tests for Group Filter Format for Okta Connector
bhunut-adobe Apr 11, 2017
548466e
Merge remote-tracking branch 'upstream/v2' into okta
adorton-adobe Apr 12, 2017
960b2a8
Added TestOktaUsersGroups
bhunut-adobe Apr 12, 2017
3fbd2aa
Merge pull request #41 from bhunut-adobe/okta
adorton-adobe Apr 13, 2017
1eec91e
dynamically get connector module type from directory connector config…
adorton-adobe Mar 16, 2017
a307553
Basic working Okta Connector
bhunut-adobe Mar 16, 2017
3de444d
Minor changes to okta connector.
bhunut-adobe Mar 17, 2017
bf56542
Include Okta to example config files
bhunut-adobe Mar 17, 2017
52b6b42
resolve #3 - add modified Okta SDK depedency
adorton-adobe Mar 17, 2017
d0284c9
fix okta requirements file
adorton-adobe Mar 17, 2017
529cc1a
Remove support for UserEmail,Domain,UserName formatter and add except…
bhunut-adobe Mar 17, 2017
67e296f
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
51cdfe7
only add https to okta URL if it isn't there
adorton-adobe Mar 20, 2017
ec1005f
Latest okta whl - adding support for extend attribute
bhunut-adobe Mar 20, 2017
861cf31
Added support for Extension Hook
bhunut-adobe Mar 20, 2017
be16462
Removed unnecessary methods
bhunut-adobe Mar 20, 2017
baa6b22
Fixed Syntax issue in directory_okta.py
bhunut-adobe Mar 20, 2017
8aed667
Fixed Multiple Group found issue and Warning message about identityty…
bhunut-adobe Mar 20, 2017
9a89a57
Updated identitytype to identity_type in directory_okta.py to match w…
bhunut-adobe Mar 21, 2017
4387e17
Add okta dependency to Makefile (resolve #13)
adorton-adobe Mar 22, 2017
bac72ea
add okta to setup.py
adorton-adobe Mar 22, 2017
2eff820
fix dependency syntax
adorton-adobe Mar 22, 2017
3d454bc
Updated Okta Python Whl
bhunut-adobe Mar 22, 2017
79cd939
start Okta documentation
adorton-adobe Mar 23, 2017
cf33e58
add config options to Okta doc
adorton-adobe Mar 23, 2017
1e75081
add config example and additional information to Okta doc
adorton-adobe Mar 23, 2017
1336feb
okta doc tweaks
adorton-adobe Mar 24, 2017
77ff51f
idiomatic python
adorton-adobe Mar 25, 2017
eb19841
Refactor okta connector to get users by group
adorton-adobe Mar 28, 2017
84607bf
Okta Python SDK updated to support pagination of group membership
bhunut-adobe Mar 28, 2017
417251c
don't set username field
adorton-adobe Mar 28, 2017
14b37d7
Fixed Okta SDK result limit of 200 records
bhunut-adobe Mar 28, 2017
ba85fe7
don't break CSV compatibility
adorton-adobe Mar 29, 2017
7830b66
bump umapi-client version in requirements.txt to match version in set…
adorton-adobe Mar 29, 2017
1d2923d
umapi-client should be 2.2
adorton-adobe Mar 29, 2017
c8d515d
Fixed #37 and #38
bhunut-adobe Apr 3, 2017
94f8a59
added Test case for OKTAValueFormatter class
shasibhusanJena Apr 4, 2017
850db24
dynamically get connector module type from directory connector config…
adorton-adobe Mar 16, 2017
1c9b2ab
Include Okta to example config files
bhunut-adobe Mar 17, 2017
ef48cf5
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
ad32498
resolve #34
adorton-adobe Apr 6, 2017
f70ab9e
1st error handling unit test for okta module
adorton-adobe Apr 7, 2017
800a0cc
Added Tests for Group Filter Format for Okta Connector
bhunut-adobe Apr 11, 2017
3fa5628
Added TestOktaUsersGroups
bhunut-adobe Apr 12, 2017
23020d6
Merge branch 'okta' of https://github.com/adorton-adobe/user-sync.py …
adorton-adobe Apr 18, 2017
97d5a7b
added test case for TestOktaIterGroupMember class
shasibhusanJena Apr 24, 2017
8d5b31d
Merge branch 'okta' into okta
shasibhusanJena Apr 24, 2017
9c62626
Merge pull request #42 from shasibhusanJena/okta
shasibhusanJena Apr 24, 2017
f1422e7
Added TestCase for Bug issue #43 and Fixed create_test_user_uid() fun…
bhunut-adobe Apr 25, 2017
219106b
Fixed Issue #43 - Added logic to check if user object already exist i…
bhunut-adobe Apr 27, 2017
5f608b6
Added more test cases for issue #23
bhunut-adobe Apr 28, 2017
67c607f
Issue #18 - Fix attempt on all_users_filter
bhunut-adobe May 2, 2017
0489a7a
dynamically get connector module type from directory connector config…
adorton-adobe Mar 16, 2017
c3a32eb
Basic working Okta Connector
bhunut-adobe Mar 16, 2017
f1db4b0
Minor changes to okta connector.
bhunut-adobe Mar 17, 2017
e1eb364
Include Okta to example config files
bhunut-adobe Mar 17, 2017
70d3085
resolve #3 - add modified Okta SDK depedency
adorton-adobe Mar 17, 2017
feeef6e
fix okta requirements file
adorton-adobe Mar 17, 2017
699532c
Remove support for UserEmail,Domain,UserName formatter and add except…
bhunut-adobe Mar 17, 2017
3d2ca34
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
5b94334
only add https to okta URL if it isn't there
adorton-adobe Mar 20, 2017
25cfe12
Latest okta whl - adding support for extend attribute
bhunut-adobe Mar 20, 2017
e9a6d5f
Added support for Extension Hook
bhunut-adobe Mar 20, 2017
72e58a6
Removed unnecessary methods
bhunut-adobe Mar 20, 2017
47c55fc
Fixed Syntax issue in directory_okta.py
bhunut-adobe Mar 20, 2017
b5a6fe1
Fixed Multiple Group found issue and Warning message about identityty…
bhunut-adobe Mar 20, 2017
c57a6cf
Updated identitytype to identity_type in directory_okta.py to match w…
bhunut-adobe Mar 21, 2017
bbd7cd6
Add okta dependency to Makefile (resolve #13)
adorton-adobe Mar 22, 2017
b074a45
add okta to setup.py
adorton-adobe Mar 22, 2017
700c92a
fix dependency syntax
adorton-adobe Mar 22, 2017
3a76a8c
Updated Okta Python Whl
bhunut-adobe Mar 22, 2017
a817541
start Okta documentation
adorton-adobe Mar 23, 2017
7fff109
add config options to Okta doc
adorton-adobe Mar 23, 2017
3ad0c32
add config example and additional information to Okta doc
adorton-adobe Mar 23, 2017
9f6eb9e
okta doc tweaks
adorton-adobe Mar 24, 2017
6392b0b
idiomatic python
adorton-adobe Mar 25, 2017
fefbf8b
Refactor okta connector to get users by group
adorton-adobe Mar 28, 2017
345f7f4
Okta Python SDK updated to support pagination of group membership
bhunut-adobe Mar 28, 2017
d86dfe8
don't set username field
adorton-adobe Mar 28, 2017
cb6f774
Fixed Okta SDK result limit of 200 records
bhunut-adobe Mar 28, 2017
454a809
don't break CSV compatibility
adorton-adobe Mar 29, 2017
7f5af21
bump umapi-client version in requirements.txt to match version in set…
adorton-adobe Mar 29, 2017
38f4684
umapi-client should be 2.2
adorton-adobe Mar 29, 2017
849f157
Fixed #37 and #38
bhunut-adobe Apr 3, 2017
31de843
added Test case for OKTAValueFormatter class
shasibhusanJena Apr 4, 2017
176d002
Include Okta to example config files
bhunut-adobe Mar 17, 2017
4630cbf
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
333b7cc
resolve #34
adorton-adobe Apr 6, 2017
ccb95d2
1st error handling unit test for okta module
adorton-adobe Apr 7, 2017
f56c86b
Added Tests for Group Filter Format for Okta Connector
bhunut-adobe Apr 11, 2017
913de4b
Added TestOktaUsersGroups
bhunut-adobe Apr 12, 2017
785c647
Include Okta to example config files
bhunut-adobe Mar 17, 2017
557e981
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
6d1f860
Include Okta to example config files
bhunut-adobe Mar 17, 2017
383520a
rename okta example to be consistent with others
adorton-adobe Mar 20, 2017
1f1d053
added test case for TestOktaIterGroupMember class
shasibhusanJena Apr 24, 2017
5311aad
Added TestCase for Bug issue #43 and Fixed create_test_user_uid() fun…
bhunut-adobe Apr 25, 2017
2a43d8c
Fixed Issue #43 - Added logic to check if user object already exist i…
bhunut-adobe Apr 27, 2017
f6bbb7e
Added more test cases for issue #23
bhunut-adobe Apr 28, 2017
d482ab4
Issue #18 - Fix attempt on all_users_filter
bhunut-adobe May 2, 2017
913d4a4
rebase merge conflicts
adorton-adobe May 11, 2017
4eca86f
Bug fixes for directory_okta_test.py and app.py.Updated directory_okt…
bhunut-adobe May 30, 2017
7c4939a
merge adobe-apiplatform/v2
adorton-adobe Jun 5, 2017
0d5c659
change okta_url to host
adorton-adobe Jun 5, 2017
1f979b9
add a connector type param
adorton-adobe Jun 20, 2017
15d9571
Merge Okta connector support from @adorton's fork.
adobeDan Nov 20, 2017
374e121
py3 support for the Okta connector
adobeDan Nov 20, 2017
8069d6b
Merge pull request #304 from adobe-apiplatform/okta
adobeDan Nov 21, 2017
b709603
update version number and release notes for v2.3rc1 build.
adobeDan Nov 21, 2017
090a6ed
fix #306: don't crash on missing country code
adobeDan Nov 21, 2017
ad8ac02
fix #305: okta connector integration, initial issues
adobeDan Nov 21, 2017
94ebf37
update release notes for fixed bugs.
adobeDan Nov 21, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ifeq ($(OS),Windows_NT)
ifeq ($(rm_path),None)
RM := rmdir /S /Q
else
RM := $(rm_path) -rf
RM := $(rm_path) -rf
endif
else
output_file_extension = ""
Expand Down
20 changes: 8 additions & 12 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
# Release Notes for User Sync Tool Version 2.2.2
# Release Notes for User Sync Tool Version 2.3

These notes apply to v2.2.2 of 2017-11-19.
These notes apply to v2.3rc1 of 2017-11-20.

## New Features

[#294](https://github.com/adobe-apiplatform/user-sync.py/issues/294): Show statistics about users added to secondaries.
User Sync can now connect to Okta enterprise directories. Create an Okta configuration and use the new `--connector okta` command-line argument to select that connector. See [the docs](https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/advanced_configuration.html#the-okta-connector) for details.

## Bug Fixes

[#283](https://github.com/adobe-apiplatform/user-sync.py/issues/283): Don't import keyring unless needed.
There is a new command-line argument `--connector` for specifying whether to get directory information via LDAP file, by reading a CSV file, or via the Okta connector. The default connector is `ldap`. For CSV users, who formerly had to specify their input source with the `--users` argument, this optional argument offers the chance to specify `--users mapped` or `--users group ...` (since the CSV input can be specified with `--connector`). See [the docs](https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/command_parameters.html) for details.

[#286](https://github.com/adobe-apiplatform/user-sync.py/issues/286): Allow specifying attributes for Adobe IDs.

[#288](https://github.com/adobe-apiplatform/user-sync.py/issues/288): Escape special characters in user input to LDAP queries.
## Bug Fixes

[#293](https://github.com/adobe-apiplatform/user-sync.py/issues/293): Don't crash when existing users are added to secondaries.
[#305](https://github.com/adobe-apiplatform/user-sync.py/issues/305) General issues with Okta connector.

[#301](https://github.com/adobe-apiplatform/user-sync.py/issues/301): User Sync fails when adding more than 10 groups to a user.
[#306](https://github.com/adobe-apiplatform/user-sync.py/issues/306) v2.2.2 crashes if country code not specified.

## Compatibility with Prior Versions

There are no interface changes from prior versions.
All configuration and command-line arguments accepted in prior releases work in this release. The `--users file` argument is still accepted, and is equivalent to (although more limited than) specifying `--connector csv`.

## Known Issues

Expand Down
27 changes: 27 additions & 0 deletions docs/en/user-manual/advanced_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,33 @@ side, and removed users to be removed from the Adobe side.
- Once the job has run, clear out the files (because their changes have been pushed) to prepare for
the next batch.

## The Okta Connector

In addition to LDAP and CSV, the User Sync tool supports [Okta](https://www.okta.com) as a source for user identity and product entitlement sync. Since Okta always uses email addresses as the unique ID for users, the Okta connector does not support username-based federation.

Okta customers must obtain an API token for use with the Okta Users API. See the [Okta's Developer Documentation](http://developer.okta.com/docs/api/getting_started/api_test_client.html)
for more information.

### Configuration

To specify your Okta configuration file, use the key "okta" in `user-sync-config.yml`.

```yaml
directory_users:
connectors:
okta: connector-okta.yml
```

There is a sample Okta connector file in the User Sync source tree.

### Runtime

In order to use the Okta connector, you will need to specify the `--connector okta` command-line parameter. (LDAP is the default connector.) In addition because the Okta connector does not support fetching all users, you must additionally specify a `--users` command line option of `group` or `mapped`. All other User Sync command-line parameters have their usual meaning.

### Extensions

Okta sync can use extended groups, attributes and after-mapping hooks. The names of extended attributes must be valid Okta profile fields.

---

[Previous Section](usage_scenarios.md) \| [Next Section](deployment_best_practices.md)
Expand Down
1 change: 1 addition & 0 deletions docs/en/user-manual/command_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ specific behavior in various situations.
| `--adobe-only-user-list` _filename_ | Specifies a file from which a list of users will be read. This list is used as the definitive list of "Adobe only" user accounts to be acted upon. One of the `--adobe-only-user-action` directives must also be specified and its action will be applied to user accounts in the list. The `--users` option is disallowed if this option is present: only account removal actions can be processed. |
| `--config-file-encoding` _encoding_name_ | Optional. Specifies the character encoding for the contents of the configuration files themselves. This includes the main configuration file, "user-sync-config.yml" as well as other configuration files it may reference. Default is `utf8` for User Sync 2.2 and later and `ascii` for earlier versions.<br />Character encoding in the user source data (whether csv or ldap) is declared by the connector configurations, and that encoding can be different than the encoding used for the configuration files (e.g., you could have a latin-1 configuration file but a CSV source file that uses utf-8 encoding).<br />The available encodings are dependent on the Python version used; see the documentation [here](https://docs.python.org/2.7/library/codecs.html#standard-encodings) for more information. |
| `--strategy sync`<br />`--strategy push` | Available in release 2.2 and later. Optional. Default operating mode is `--strategy sync`. Controls whether User Sync reads user information from Adobe and compares to the directory information and then issues updates to Adobe, or simply pushes the directory input to Adobe without considering the existing user information on Adobe. `sync` is the default and the subject of the description of most of this documentation. `push` is useful when there is a large number of users on the Adobe side (>30,000) and known additions or changes to a small number of users are desired, and the list of those users is available in a csv file or a specific directory group.<br />If `--strategy push` is specified, `--adobe-only-user-action` cannot be specified as the determination of adobe-only users is not made.<br/>`--strategy push` will create new users, modify their group memberships for mapped groups only (if `--process-groups` is present), update user information (if `--update-user-info` is present), and will not remove users from the organization or delete their accounts. See [Handling Push Notifications](usage_scenarios.md#handling-push-notifications) for information on how to remove users via push notifications. |
| `--connector ldap`<br />`--connector okta`<br />`--connector csv` _filename_ | Available in release 2.3 and later. Optional. Specifies the directory connector to be used (defaults to LDAP). If you specify the use of a CSV input file with this argument, then you cannot also specify one with `--users`, but you can then specify other `--users` options (such as `mapped` or `group`) for use with the CSV file. (The Okta connector does not support `--users all`, so you must specify a `--users` option of `mapped` or `group` if you use the Okta connector.)
{: .bordertablestyle }

---
Expand Down
5 changes: 5 additions & 0 deletions examples/config files - basic/1 user-sync-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ directory_users:
# [Uncomment the next line if you have a custom csv configuration file.]
#csv: "connector-csv.yml"

# (optional) okta (no default value)
# okta is a 3rd party federation provider compatible with Adobe Enterprise Federated ID.
# See https://developer.okta.com/ for Okta developer information.
# okta: "connector-okta.ytml"

# (optional) groups (no default value)
# The groups setting specifies how groups in the enterprise directory map
# to product configurations and user groups on the Adobe side (collectively
Expand Down
1 change: 0 additions & 1 deletion examples/config files - basic/3 connector-ldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ base_dn: "defines the base DN. e.g. DC=example,DC=com"
# or network address) as the value below.
#secure_password_key: ldap_password


# (optional) user_identity_type (default is inherited from main configuration)
# user_identity_type specifies a default identity type for when directory users
# are created on the Adobe side (one of adobeID, enterpriseID, federatedID).
Expand Down
36 changes: 36 additions & 0 deletions examples/config files - basic/5 connector-okta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a sample configuration file for the okta connector type.
#
# Okta is an identity hosting company that supports being the Identity Provider
# for Adobe Enterprise Federated ID.
#
# This sample file contains all of the settable options for this protocol.
# It is recommended that you make a copy of this file and edit it for your needs.
# While you are at it, you will likely want to remove a lot of this commentary,
# in order to enhance the readability of your file.

# connection settings (required)
# You must specify both of these settings. The token should be protected.
# For more information on getting an Okta API Token, see:
# http://developer.okta.com/docs/api/getting_started/getting_a_token.html
host: "sample-817042.oktapreview.com"
api_token: "00R_KJEaIcgAswrlO_sample_ZdgxC5scYZn8IZ-zi"

# (required) group_filter_format (default given below)
# specifies the string format used to construct a group query.
# {group} is replaced with the name of the group to find.
group_filter_format: "{group}"

# (required) all_users_filter (default given below)
# specifies the string filter used to find all users in the directory.
# Filter Examples:
# Filter user based on countryCode attribute in user profile
# all_users_filter: 'user.profile.countryCode == "MX"'
# Filter user based on status of ACTIVE
# all_users_filter: 'user.status == "ACTIVE"'
all_users_filter: 'user.status == "ACTIVE"'

# (optional) default_identity_type (no default)
# specifies the identity type of the dashboard user to create.
# the valid values are: enterpriseID, federatedID
# If not specified, the default identity type from the main config file is used.
# user_identity_type: federatedID
Binary file added external/okta-0.0.3.1-py2.py3-none-any.whl
Binary file not shown.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@
license='MIT',
packages=['user_sync', 'user_sync.connector'],
install_requires=[
'keyring',
'okta==0.0.3.1',
'psutil',
'pycryptodome',
'pyldap==2.4.37',
'PyYAML',
'six',
'umapi-client>=2.9',
'psutil',
'keyring',
'six'
],
extras_require={
':sys_platform=="linux" or sys_platform=="linux2"':[
Expand Down
Loading