Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E4D will appear to have no default org upon reauthentication with the same alias in a single session #85

Open
gbockus-sf opened this issue Jul 19, 2024 · 1 comment

Comments

@gbockus-sf
Copy link
Contributor

gbockus-sf commented Jul 19, 2024

Summary

When a users logs out of the default org `SFDX: Log Out of Default Org', then authorizes the same org using the same alias (without refreshing the window or opening a new VS Code window) E4D will not be able to recognize that E4D is available for the org

Steps To Reproduce:

  1. Have an authorized org with the alias vscodeOrg
  2. Execute the command SFDX: Log Out of Default Org
  3. Execute the command SFDX: Authorize an Org
  4. Log into the same org that you logged out of previously, using the same alias vscodeOrg
  5. See that E4D will not enabled (yellow status bar icon)

Expected result

Should be able to log in/out at will.

Actual result

E4D is disabled for Org.

Workaround

  • Reload VSCode and the org will be valid for E4D
  • Command: Developer: Reload Window

Salesforce Extension Version in VS Code: 61.5.0

Salesforce Einstein For Developers Version in VS Code: 0.53.0

OS and version: All

VS Code version: 1.91.1 (all supported version)

@gbockus-sf gbockus-sf pinned this issue Jul 19, 2024
@AnanyaJha AnanyaJha changed the title E4D will appear to have no default org when same alias is used in session E4D will appear to have no default org upon reauthentication with the same alias in a single session Jul 19, 2024
@AnanyaJha AnanyaJha unpinned this issue Aug 23, 2024
Copy link

git2gus bot commented Sep 16, 2024

This issue has been linked to a new work item: W-16761128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant