You need to sign in to do that
Don't have an account?
Lakshya Kanchan
Browser window remains open even after logging out of org using CLI
Hi
I am using SFDX CLI and bat files for my business requirements.
I am logging in the org, performing some scripting code and then logging out.
Login Command : sfdx auth:web:login -s -a tempOrg -r https://login.salesforce.com
Logout Command : sfdx force:auth:logout -u tempOrg --noprompt
I am able to access the org in the web browser even after logging out to the org.
I need to make the org inaccessible in the browser after logging out.
Regards,
Lakshya
I am using SFDX CLI and bat files for my business requirements.
I am logging in the org, performing some scripting code and then logging out.
Login Command : sfdx auth:web:login -s -a tempOrg -r https://login.salesforce.com
Logout Command : sfdx force:auth:logout -u tempOrg --noprompt
I am able to access the org in the web browser even after logging out to the org.
I need to make the org inaccessible in the browser after logging out.
Regards,
Lakshya
It might be due to browser cache, can you clear cache and recheck?
Thanks,
Thanks for the response.
Actually when we are using the web:auth:login command, a browser window opens where we enter the credentials and authorize the CLI. The browser window remains open even after using the force:auth:logout command. I want to close the browser window after we log out using CLI.
Browser cache clearing approach doesnt seem that feasible for the requirement bcoz we dont want any manual intervention. Everything needs to be automated.
Regards,
Lakshya