Skip to content
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

fix(auth): add scripts to import users to auth0 #755

Merged
merged 15 commits into from Dec 27, 2023

Conversation

adrienjoly
Copy link
Member

@adrienjoly adrienjoly commented Dec 26, 2023

Follow up of #705. May contribute to #669.

Usage, from project root dir:

$ mongoexport -d ${dbname} -c user --type=json --out ./prod-users.json-lines -u ${dbuser} -p ${dbpassword}
$ node ./scripts/auth0/prepare-import-batches.js # => create files: `prod-users-*.for-auth0.json`
$ ./scripts/auth0/import-prod-users.sh

@adrienjoly adrienjoly self-assigned this Dec 26, 2023
Copy link

codacy-production bot commented Dec 26, 2023

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for e03f12a1
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (e03f12a) Report Missing Report Missing Report Missing
Head commit (72a5c46) 5385 3137 58.25%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#755) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@adrienjoly adrienjoly merged commit d55d0f3 into main Dec 27, 2023
14 of 15 checks passed
@adrienjoly adrienjoly deleted the feat/auth0-import-prod-users branch December 27, 2023 08:39
adrienjoly pushed a commit that referenced this pull request Dec 27, 2023
## [1.59.4](v1.59.3...v1.59.4) (2023-12-27)

### Bug Fixes

* **auth:** add scripts to import users to auth0 ([#755](#755)) ([d55d0f3](d55d0f3)), closes [#705](#705) [#669](#669)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant