-
Notifications
You must be signed in to change notification settings - Fork 6
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 errors in uploader, add support for .config and path for config file. #18
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, and would you add to this PR the update to the docs that capture this change in usage and in credential file location?
parser.add_argument('-u', '--uri', default=credentials.uri, help='URI to Auth0 management API') | ||
parser.add_argument('-c', '--clientid', default=credentials.client_id, required=require_creds, help='Auth0 client id') | ||
parser.add_argument('-s', '--clientsecret', default=credentials.client_secret, required=require_creds, help='Auth0 client secret') | ||
parser.add_argument('-i', '--clientid', default=credentials.client_id, help='Auth0 client id') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will changing this break the CloudBuild CI execution of this tool?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I can update the docs. It will break the CloudBuild CI, which is why this PR should be merged concurrently with the PR in the comment above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aha, sorry didn't see that comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you add the new config option and the credentials file location change to the docs as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the documentation has been updated in this PR to capture this new functionality this should be good to merge
Cleans up a bunch of code, also adds checks for two different (currently unchecked) error conditions.
Note that this will require a change to the Makefile in
auth0-deploy
, as-c
has been changed to-i
. This is reflected here: mozilla-iam/auth0-deploy#317