-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from jonnyhork/jhork/prevent-auth-overwrite
Jhork/prevent auth overwrite
- Loading branch information
Showing
5 changed files
with
81 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
{ | ||
"JsonParseError": "Parse error in file %s on line %s\n%s\n", | ||
"AuthInfoCreationError": "Must pass a username and/or OAuth options when creating an AuthInfo instance.", | ||
"AuthCodeExchangeError": "Error authenticating with auth code due to: %s", | ||
"AuthCodeUsernameRetrievalError": "Could not retrieve the username after successful auth code exchange in org: %s.\nDue to: %s", | ||
"JWTAuthError": "Error authenticating with JWT config due to: %s", | ||
"RefreshTokenAuthError": "Error authenticating with the refresh token due to: %s", | ||
"OrgDataNotAvailableError": "An attempt to refresh the authentication token failed with a 'Data Not Found Error'. The org identified by username %s does not appear to exist. Likely cause is that the org was deleted by another user or has expired.", | ||
"OrgDataNotAvailableErrorAction1": "Run `sfdx force:org:list --clean` to remove stale org authentications.", | ||
"OrgDataNotAvailableErrorAction2": "Use `sfdx force:config:set` to update the defaultusername.", | ||
"OrgDataNotAvailableErrorAction3": "Use `sfdx force:org:create` to create a new org.", | ||
"OrgDataNotAvailableErrorAction4": "Use `sfdx force:auth` to authenticate an existing org.", | ||
"NamedOrgNotFound": "No AuthInfo found for name %s", | ||
"NoAliasesFound": "Nothing to set", | ||
"InvalidFormat": "Setting aliases must be in the format <key>=<value> but found: [%s]", | ||
"NoAuthInfoFound": "No authorization information can be found.", | ||
"InvalidJsonCasing": "All JSON input must have heads down camelcase keys. E.g., { sfdcLoginUrl: \"https://login.salesforce.com\" }\nFound \"%s\" at %s" | ||
} | ||
"JsonParseError": "Parse error in file %s on line %s\n%s\n", | ||
"AuthInfoCreationError": "Must pass a username and/or OAuth options when creating an AuthInfo instance.", | ||
"AuthInfoOverwriteError": "Cannot create an AuthInfo instance that will overwrite existing auth data.", | ||
"AuthInfoOverwriteErrorAction": "Create the AuthInfo instance using existing auth data by just passing the username. E.g., AuthInfo.create({ username: 'my@user.org' });", | ||
"AuthCodeExchangeError": "Error authenticating with auth code due to: %s", | ||
"AuthCodeUsernameRetrievalError": "Could not retrieve the username after successful auth code exchange in org: %s.\nDue to: %s", | ||
"JWTAuthError": "Error authenticating with JWT config due to: %s", | ||
"RefreshTokenAuthError": "Error authenticating with the refresh token due to: %s", | ||
"OrgDataNotAvailableError": "An attempt to refresh the authentication token failed with a 'Data Not Found Error'. The org identified by username %s does not appear to exist. Likely cause is that the org was deleted by another user or has expired.", | ||
"OrgDataNotAvailableErrorAction1": "Run `sfdx force:org:list --clean` to remove stale org authentications.", | ||
"OrgDataNotAvailableErrorAction2": "Use `sfdx force:config:set` to update the defaultusername.", | ||
"OrgDataNotAvailableErrorAction3": "Use `sfdx force:org:create` to create a new org.", | ||
"OrgDataNotAvailableErrorAction4": "Use `sfdx force:auth` to authenticate an existing org.", | ||
"NamedOrgNotFound": "No AuthInfo found for name %s", | ||
"NoAliasesFound": "Nothing to set", | ||
"InvalidFormat": "Setting aliases must be in the format <key>=<value> but found: [%s]", | ||
"NoAuthInfoFound": "No authorization information can be found.", | ||
"InvalidJsonCasing": "All JSON input must have heads down camelcase keys. E.g., { sfdcLoginUrl: \"https://login.salesforce.com\" }\nFound \"%s\" at %s" | ||
} |
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
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
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
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