1
0
mirror of synced 2025-12-21 11:01:41 -05:00
Commit Graph

6 Commits

Author SHA1 Message Date
Evyatar Rosner
34c76fbc55 Source Okta: Authentication with private key (OAuth 2.0) support (#43382) 2024-08-14 16:00:27 -07:00
Yiyang Li
d82632f8a7 Source Okta: add resource-sets (incremental supported) (#14700)
* Source Okta: add resource-sets (inremental supported)

- stop using the deprecated method get_updated_state, use state property and state setter instead
- the payload resource-sets is enveloped, _links.next.href contains the cursor

* fix: change assert statement with flake formatting

* fix unit tests

* clean up get_updated_state overriding

* rename and correct sample config

* correct sample valid and invalid config

* fake the token more

* fix the invalid_config.json

* change the order of stream, hopefully logs is run firstly

* fix: remove log stream from configured catalog

* fix: bump connector version on okta.md and Dockerfile

* auto-bump connector version [ci skip]

Co-authored-by: Sajarin <sajarindider@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-12 12:43:43 -04:00
Yiyang Li
0bc617fd6c Source Okta: add permission stream under a custom role (#14739)
* Source Okta: add permission stream under a custom role

- it supports full refresh only
- add unit tests

* bump connector version

* bump connector version in Dockerfile

* auto-bump connector version [ci skip]

Co-authored-by: sajarin <sajarindider@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-03 17:15:57 -04:00
Yiyang Li
0e0b242898 🎉 Source Okta: add User_Role_Assignments and Group_Role_Assignments (#14556)
* Add User_Role_Assignments and Group_Role_Assignments stream

- it's all about okta source connector
- these 2 API streams don't support the sync mode incremental, the api doesn's mention cursor or pagination for these 2 APIs
- add $id to shared schema, rename shared schema

* formatted

* chore: added connector to definitions

* auto-bump connector version [ci skip]

Co-authored-by: Harshith Mullapudi <harshithmullapudi@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-07-19 00:31:38 +05:30
Yiyang Li
92b2d9cbc1 🎉 Source Okta: add GroupMembers stream (#14380)
* add Group_Members stream to okta source

- Group_Members return a list of users, the same schema of Users stream.
- Create a shared schema users, and both group_members and users sechema use it as a reference.
- Add Group_Members stream to source connector

* add tests and fix logs schema

- fix the test error: None is not one of enums though the enum type includes both string and null, it comes from json schema validator
ddb87afad8/jsonschema/_validators.py (L279-L285)
- change grouop_members to use id as the cursor field since `filter` is not supported in the query string
- fix the abnormal state test on logs stream, when since is abnormally large, until has to defined, an equal or a larger value
- remove logs stream from full sync test, because 2 full sync always has a gap -- at least a new log about users or groups api.

* last polish before submit the PR

- bump docker version
- update changelog
- add the right abnormal value for logs stream
- correct the sample catalog

* address comments::

- improve comments for until parameter under the logs stream
- add use_cache on groupMembers

* add use_cache to Group_Members

* change configured_catalog to test

* auto-bump connector version

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-07-12 14:49:57 -03:00
Gabriel Rebessi
eade88efa7 New Source: Okta (#3563)
* Add source-okta

* Add PR suggestions

* Remove typo

* Remove unused file

* hard code page size

* add missing fields to catalog.json

* Add missing fields to catalog

* Add docs to Okta

* Add credential for okta

* Update docs/integrations/README.md

* Fix linting

* fix dependency conflict

* Fix integration tests

* update ci_credentials

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-06-02 14:03:00 -03:00