Summary
We have a flow where we curl a client_credentials login, get the token and login into sf cli using sf auth accesstoken store. Since last release is failing with the errorr User force closed the prompt with 13 null
Steps To Reproduce
- Try to login into sf cli using
sf auth accesstoken store
Expected result
Correct login
Actual result
Error
Additional information
Having a way to login using client_credentials flow directly in sf would be ideal.
This is happening in actual rc and stable
System Information
bash / zsh
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.138.6",
"nodeVersion": "node-v22.22.3",
"osVersion": "Darwin 25.3.0",
"rootPath": "/Users/miguelnunezdiaz-montes/.local/share/sf/client/2.138.6-fab2b4f",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.50 (core)",
"@oclif/plugin-commands 4.1.57 (core)",
"@oclif/plugin-help 6.2.50 (core)",
"@oclif/plugin-not-found 3.2.87 (core)",
"@oclif/plugin-plugins 5.4.72 (core)",
"@oclif/plugin-search 1.2.50 (core)",
"@oclif/plugin-update 4.7.46 (core)",
"@oclif/plugin-version 2.2.47 (core)",
"@oclif/plugin-warn-if-update-available 3.1.65 (core)",
"@oclif/plugin-which 3.2.55 (core)",
"@salesforce/analytics 1.4.69 (user) published 9 days ago (Sun May 31 2026)",
"@salesforce/cli 2.138.6 (core)",
"agent 1.42.1 (user) published 4 days ago (Thu Jun 04 2026)",
"apex 3.9.32 (core)",
"api 1.3.37 (core)",
"auth 4.4.1 (core)",
"code-analyzer 5.13.0 (user) published 15 days ago (Mon May 25 2026)",
"data 4.0.106 (core)",
"deploy-retrieve 3.24.54 (core)",
"info 3.4.139 (core)",
"limits 3.3.92 (core)",
"marketplace 1.3.29 (core)",
"org 5.11.6 (core)",
"packaging 2.29.2 (user) published 0 days ago (Tue Jun 09 2026)",
"schema 3.3.116 (core)",
"settings 2.4.82 (core)",
"sobject 1.4.111 (core)",
"telemetry 3.8.24 (core)",
"templates 56.18.0 (core)",
"trust 3.8.13 (core)",
"user 3.10.1 (core)",
"apex-code-coverage-transformer 2.14.2 (user) published 189 days ago (Mon Dec 01 2025) (latest is 2.21.0)",
"sfdmu 5.6.4 (user) published 53 days ago (Fri Apr 17 2026)",
"sfdx-git-delta 6.31.0 (user) published 116 days ago (Thu Feb 12 2026)",
"sfdx-hardis 7.16.2-beta202606051324.0 (user) published 4 days ago (Fri Jun 05 2026) (latest is 7.16.0)"
]
}
Summary
We have a flow where we curl a client_credentials login, get the token and login into sf cli using
sf auth accesstoken store. Since last release is failing with the errorrUser force closed the prompt with 13 nullSteps To Reproduce
sf auth accesstoken storeExpected result
Correct login
Actual result
Error
Additional information
Having a way to login using client_credentials flow directly in sf would be ideal.
This is happening in actual rc and stable
System Information
bash / zsh
{ "architecture": "darwin-arm64", "cliVersion": "@salesforce/cli/2.138.6", "nodeVersion": "node-v22.22.3", "osVersion": "Darwin 25.3.0", "rootPath": "/Users/miguelnunezdiaz-montes/.local/share/sf/client/2.138.6-fab2b4f", "shell": "zsh", "pluginVersions": [ "@oclif/plugin-autocomplete 3.2.50 (core)", "@oclif/plugin-commands 4.1.57 (core)", "@oclif/plugin-help 6.2.50 (core)", "@oclif/plugin-not-found 3.2.87 (core)", "@oclif/plugin-plugins 5.4.72 (core)", "@oclif/plugin-search 1.2.50 (core)", "@oclif/plugin-update 4.7.46 (core)", "@oclif/plugin-version 2.2.47 (core)", "@oclif/plugin-warn-if-update-available 3.1.65 (core)", "@oclif/plugin-which 3.2.55 (core)", "@salesforce/analytics 1.4.69 (user) published 9 days ago (Sun May 31 2026)", "@salesforce/cli 2.138.6 (core)", "agent 1.42.1 (user) published 4 days ago (Thu Jun 04 2026)", "apex 3.9.32 (core)", "api 1.3.37 (core)", "auth 4.4.1 (core)", "code-analyzer 5.13.0 (user) published 15 days ago (Mon May 25 2026)", "data 4.0.106 (core)", "deploy-retrieve 3.24.54 (core)", "info 3.4.139 (core)", "limits 3.3.92 (core)", "marketplace 1.3.29 (core)", "org 5.11.6 (core)", "packaging 2.29.2 (user) published 0 days ago (Tue Jun 09 2026)", "schema 3.3.116 (core)", "settings 2.4.82 (core)", "sobject 1.4.111 (core)", "telemetry 3.8.24 (core)", "templates 56.18.0 (core)", "trust 3.8.13 (core)", "user 3.10.1 (core)", "apex-code-coverage-transformer 2.14.2 (user) published 189 days ago (Mon Dec 01 2025) (latest is 2.21.0)", "sfdmu 5.6.4 (user) published 53 days ago (Fri Apr 17 2026)", "sfdx-git-delta 6.31.0 (user) published 116 days ago (Thu Feb 12 2026)", "sfdx-hardis 7.16.2-beta202606051324.0 (user) published 4 days ago (Fri Jun 05 2026) (latest is 7.16.0)" ] }