Questions tagged [salesforcedx-cli-auth]

For questions concerning SFDX authentication commands

Filter by
Sorted by
Tagged with
0
votes
0answers
44 views

Unable to authorize Scratch org from cli

I am trying to authorize an scratch org via CLI (sfdx force:auth:web:login) with my user which is created by another user and I am not able to authorize it. Getting below error: ERROR running force:...
1
vote
0answers
24 views

SFDX error for external objects

I have added external object in an unlocked package. This object is getting call from apex classes. I have added the datasources also. But getting errors like below: 1. Invalid type: Schema....
1
vote
1answer
78 views

Sfdx Auth Url is getting expired after certain time

For CI pipeline for authentication I am using "sfdx force:Org:Display --targetusername ProductionHub --verbose" command to get Sfdx Auth Url. Then by using "sfdx force:auth:Sfdxurl:Store -f ...
1
vote
2answers
162 views

Unable to authorize the org in vscode

When i tried to authorize the org via vscode this issue is showing.After killing process id 1717,another issue is showing.Here is the issue { Error: spawn cmd ENOENT at Process.ChildProcess....
0
votes
1answer
101 views

Error when Authenticate Orgs

I'm having a very frustrated problem where Visual Studio Code show error everytime I want to authenticate an org. I use CMD and it working fine but when I try to work on Visual Studio Code it show the ...
2
votes
1answer
251 views

Salesforce DX authentication URL Expiration date

I have been going through this link Sfdx authorization for org and find out to check org information via salesforce cli we have to use this command below sfdx force:org:display --targetusername <...
2
votes
1answer
1k views

ERROR running force:source:deploy: Deploy failed

I keep getting ERROR running force:source:deploy: Deploy failed. I just follow the instructions right here. This is my current org: ALIAS USERNAME ORG ID ...
0
votes
1answer
208 views

scratch org creation gives error on proxy

sfdx force:org:create -s -f ./config/project-scratch-def.json -a AppScratch using above command for scratch org creation gives error on proxy ERROR: location is not defined. i have ...
2
votes
1answer
941 views

“fatal signup error” when creating scratch org

I have a Dev Hub that is set up in my Developer Edition org. I have been using it for DX development for several weeks, but when I tried to create a scratch org today with the same configuration file (...
1
vote
2answers
458 views

I haven't access to the [ScratchOrgInfo] object

I have a problem with my trailhead "Quick Start: Salesforce DX". I'm trying to do this: sfdx force:org:create -s -f config/project-scratch-def.json -a "default scratch org" But become an Error: You ...
8
votes
1answer
3k views

How to switch between Salesforce DX orgs/projects when using Visual Studio Code

BACKGROUND Imagine you're working on 2-3 Salesforce projects each with a different target Orgs (sandboxes for different companies). You're actively working on project 1 (coding, running tests, ...
0
votes
1answer
61 views

Programatically add org authentication to SalesforceDX

I’m coding a sfdx plugin using the new plugin generator found here: https://github.com/forcedotcom/sfdx-plugin-generate I was wondering if there’s a way to programatically add a new Salesforce org ...
9
votes
2answers
3k views

SalesforceDX: Log in to sandbox by username/password from command line without browser involved

Is it possible to log in from sfdx CLI to already existent sandbox having username/password combination? Reading through documentation I see bunch of ways how to authorize - through browser, by ...