You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: messages/logout.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ The process is similar if you specify --all, except that in the initial list of
10
10
11
11
Be careful! If you log out of a scratch org without having access to its password, you can't access the scratch org again, either through the CLI or the Salesforce UI.
12
12
13
+
Use the --client-app flag to log out of the link you previously created between an authenticated user and a connected app or external client app; you create these links with "org login web --client-app". Run "org display" to get the list of client app names.
14
+
13
15
# examples
14
16
15
17
- Interactively select the orgs to log out of:
@@ -40,10 +42,26 @@ Include all authenticated orgs.
40
42
41
43
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
42
44
45
+
# flags.client-app.summary
46
+
47
+
Client app to log out of.
48
+
43
49
# logoutOrgCommandSuccess
44
50
45
51
Successfully logged out of orgs: %s
46
52
53
+
# logoutClientAppSuccess
54
+
55
+
Successfully logged out of "%s" client app for user %s.
56
+
57
+
# error.noLinkedApps
58
+
59
+
%s doesn't have any linked client apps.
60
+
61
+
# error.invalidClientApp
62
+
63
+
%s doesn't have a linked client app named "%s".
64
+
47
65
# noOrgsFound
48
66
49
67
No orgs found to log out of.
@@ -82,6 +100,6 @@ You must specify a target-org (or default target-org config is set) or use --all
82
100
83
101
# warning.NoAuthFoundForTargetOrg
84
102
85
-
No authenticated org found with the %s username or alias.
103
+
No authenticated org found with the %s username or alias.
86
104
87
105
NOTE: Starting September 2025, this warning will be converted to an error. As a result, the exit code when you try to log out of an unauthenticated org will change from 0 to 1.
Copy file name to clipboardExpand all lines: messages/web.login.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,22 @@ Browser in which to open the org.
42
42
43
43
If you don’t specify --browser, the command uses your default browser. The exact names of the browser applications differ depending on the operating system you're on; check your documentation for details.
44
44
45
+
# flags.client-app.summary
46
+
47
+
Name of the connected app or external client app to link to the user.
48
+
49
+
# flags.username.summary
50
+
51
+
Username to link client app to.
52
+
53
+
# flags.scopes.summary
54
+
55
+
Authentication scopes to request.
56
+
57
+
# linkedClientApp
58
+
59
+
Successfully linked "%s" client app to %s.
60
+
45
61
# deviceWarning
46
62
47
63
"<%= config.bin %> <%= command.id %>" doesn't work when authorizing to a headless environment. Use "<%= config.bin %> org login device" instead.
0 commit comments