-
Notifications
You must be signed in to change notification settings - Fork 374
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
Support 'password' in config, interchangeable with access_token #145
Merged
chrisbutcher
merged 4 commits into
master
from
support_password_config_var_interchangeable_with_access_token
Mar 9, 2016
Merged
Support 'password' in config, interchangeable with access_token #145
chrisbutcher
merged 4 commits into
master
from
support_password_config_var_interchangeable_with_access_token
Mar 9, 2016
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrisbutcher
force-pushed
the
support_password_config_var_interchangeable_with_access_token
branch
from
February 24, 2016 22:42
d401c17
to
63848db
Compare
chrisbutcher
force-pushed
the
support_password_config_var_interchangeable_with_access_token
branch
from
February 24, 2016 22:45
63848db
to
d60ee56
Compare
@@ -54,9 +57,12 @@ func (conf Configuration) Initialize() (Configuration, error) { | |||
|
|||
if len(conf.Domain) == 0 { | |||
return conf, fmt.Errorf("missing domain") | |||
} else if !strings.HasSuffix(conf.Domain, "myshopify.com") { |
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.
Should we allow .com
and .io
?
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.
Good idea!
One minor comment, otherwise 👍 |
Will 🚢 this this week, and create a new release at that time
|
chrisbutcher
added a commit
that referenced
this pull request
Mar 9, 2016
…rchangeable_with_access_token Support 'password' in config, interchangeable with access_token
chrisbutcher
deleted the
support_password_config_var_interchangeable_with_access_token
branch
March 9, 2016 15:57
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #104
password
to Configure command workflow, which holds the same value sent to Shopify under the headerX-Shopify-Access-Token
.config.yml
, the termpassword
is used. It's also used within the Shopify Private Apps UI, as seen in the related issue above.password
as the preferred flag name, andconfig.yml
key. Eventually we should deprecate the termaccess_token
themekit (a warning is added when callingtheme configure
with-access_token=foo
).Following my configuration refactor PR shipping, a lot of the duplication still visible in parts of this PR will be cleaned up. #135
Please review, @ilikeorangutans cc: @stevebosworth @cshold