forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
940 stars 397 forks source link

Sandbox authentication from vs code #5577

Closed sfsagar closed 1 month ago

sfsagar commented 2 months ago

Hi All,

I am trying to connect vs code to Salesforce Dev sandbox but i enter custom domain and org name details click enter Then in browser the login page open but then suddenly the below error appears in my screen 17150147430847062026430879856187 IMG_20240506_223339

Intresting thing is if I try to connect with my other sandbox like INT,QA,UAT they get authenticate properly and able to connect vs code. Only facing issues while connecting to Dev sandbox, what could be the reason. Really appreciate someone input to resolve the issue

peternhale commented 2 months ago

@sfsagar would you mind providing the information requested in the issue template? I will be happy to help once I have the needed information.

sfsagar commented 2 months ago

@peternhale Steps to produce-

  1. Authorize an org command--> Entered Domain -->enter name in vs code--> in edge browser login page open gained used custom domain --> sso log in user,
  2. It should able me to open the Dev sandbox --> but getting the above error attached in question

Soon will share the required version of all app requested.But just FYI I can able to authorise othe sandbox but not dev

peternhale commented 2 months ago

@sfsagar I would suggest trying again but use -r https://test.salesforce.com instead of instance URL. Could you provide the org id of the org you are trying to auth to?

peternhale commented 1 month ago

@sfsagar were you able to try the suggestion?

sfsagar commented 1 month ago

On Monday will check and confirm.

Thank you

On Fri, May 10, 2024, 9:21 PM peternhale @.***> wrote:

@sfsagar https://github.com/sfsagar were you able to try the suggestion?

— Reply to this email directly, view it on GitHub https://github.com/forcedotcom/salesforcedx-vscode/issues/5577#issuecomment-2104840348, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGU2G6RP6EBAWXVYKQBBLTZBTUGLAVCNFSM6AAAAABHJMSOYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUHA2DAMZUHA . You are receiving this because you were mentioned.Message ID: @.***>

github-actions[bot] commented 1 month ago

This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted.