Skip to content

Commit 43be968

Browse files
fix: more info about automatic user authentication/hyperforce/jwt (#860)
1 parent 1197a99 commit 43be968

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

messages/create.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Use the --set-alias flag to assign a simple name to the user that you can refere
1919

2020
When this command completes, it displays the new username and user ID. Run the "org display user" command to get more information about the new user.
2121

22+
After the new user has been created, Salesforce CLI automatically authenticates it to the scratch org so the new user can immediately start using the scratch org. The CLI uses the same authentication method that was used on the associated Dev Hub org. Due to Hyperforce limitations, the scratch org user creation fails if the Dev Hub authentication used the JWT flow and the scratch org is on Hyperforce. For this reason, if you plan to create scratch org users, authenticate to the Dev Hub org with either the "org login web" or "org login sfdx-url" command, and not "org login jwt".
23+
2224
For more information about user limits, defaults, and other considerations when creating a new scratch org user, see https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_users.htm.
2325

2426
# examples

0 commit comments

Comments
 (0)