Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Commit 0562998

Browse files
author
azlam-abdulsalam
committed
fix(orginfo): add front door display url to logint to the box
1 parent 56be0ed commit 0562998

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

packages/sfpowerscripts-cli/src/ui/OrgInfoDisplayer.ts

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -97,29 +97,12 @@ export default class OrgInfoDisplayer
9797
COLOR_KEY_MESSAGE(org.getUsername()),
9898
]);
9999
table.push([
100-
COLOR_HEADER(`Auth URL`),
101-
COLOR_KEY_MESSAGE(org.getConnection().getAuthInfo().getSfdxAuthUrl()),
100+
COLOR_HEADER(`Front Door URL`),
101+
COLOR_KEY_MESSAGE(org.getConnection().getAuthInfo().getOrgFrontDoorUrl())
102102
]);
103103
SFPLogger.log(table.toString(), LoggerLevel.INFO);
104104

105-
SFPLogger.log(
106-
COLOR_TRACE(
107-
`You may use the following commands to authenticate to the org`,
108-
),
109-
LoggerLevel.INFO,
110-
);
111-
SFPLogger.log(
112-
COLOR_TRACE(`cat ${org.getConnection().getAuthInfo().getSfdxAuthUrl()} > ./authfile`),
113-
LoggerLevel.INFO,
114-
);
115-
SFPLogger.log(
116-
COLOR_TRACE(`sfdx auth sfdxurl store --sfdxurlfile authfile`),
117-
LoggerLevel.INFO,
118-
);
119-
SFPLogger.log(
120-
COLOR_TRACE(`sfdx force org open --u ${org.getUsername()}`),
121-
LoggerLevel.INFO,
122-
);
105+
123106

124107
SFPLogger.log(
125108
COLOR_HEADER(

0 commit comments

Comments
 (0)