{"id":27057623,"url":"https://github.com/ramsailopal/oktasync","last_synced_at":"2025-10-28T09:05:31.297Z","repository":{"id":282289494,"uuid":"948095053","full_name":"RamSailopal/Oktasync","owner":"RamSailopal","description":"Syncing data from a csv file to a Okta user directory","archived":false,"fork":false,"pushed_at":"2025-03-13T18:48:29.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T11:32:40.106Z","etag":null,"topics":["csv","okta","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamSailopal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-13T18:34:47.000Z","updated_at":"2025-03-13T19:02:18.000Z","dependencies_parsed_at":"2025-03-13T19:51:56.209Z","dependency_job_id":null,"html_url":"https://github.com/RamSailopal/Oktasync","commit_stats":null,"previous_names":["ramsailopal/oktasync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RamSailopal/Oktasync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FOktasync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FOktasync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FOktasync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FOktasync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamSailopal","download_url":"https://codeload.github.com/RamSailopal/Oktasync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FOktasync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281411112,"owners_count":26496459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","okta","python"],"created_at":"2025-04-05T11:28:31.328Z","updated_at":"2025-10-28T09:05:31.270Z","avatar_url":"https://github.com/RamSailopal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Okta Data Import\n\n![example workflow](https://github.com/RamSailopal/Oktasync/actions/workflows/check.yml/badge.svg)\n\nAn example of extracting data out of a csv file and then importing it into Okta using the [Okta Python SDK](https://github.com/okta/okta-sdk-python)\n\nEach line of user data is processed. A check is carried out to see if the user already exists or not and if not, the user is setup in the Okta user directory. A complete list of the users in the Okta directory is then output.\n\nAn alternative csv file import is also available within the Okta platform but such a method means that automation cannot be achieved,\n\n## Raw Data\n\nExample raw data is stored in the **okta/dump.csv** file where the first comma separated value is the forename, the second the surname and the last value the email address.\n\n## Running the script\n\nWith Python3, Python3-venv and pip3 installed, run:\n\n    \n    python3 -m venv .\n    bin/pip install -r requirements,txt\n    export OKTADOMAIN=\"\u003cyour Okta domain\u003e\"\n    export OKTATOKEN=\"\u003cYour Okta API token\u003e\"\n    bin/python3 okta/sync.py -f \u003cfile path\u003e\n\nfile path signifies the path to dump.csv file \n\nFurther details on setting up an Okta API token can be found [here](https://developer.okta.com/docs/guides/create-an-api-token/main/)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Foktasync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framsailopal%2Foktasync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Foktasync/lists"}