Skip to main content

Hello, 

I'm trying to login to my playground frolm VS Code.  

 

When I login, I land on my main org and not to my playground where the challanges are verified.  

 

I tried to login with my playground credentials but I don't have the password and I can't change it. 

 

#Trailhead Challenges  #Trailhead Playground

1 个回答
  1. 9月12日 16:31

    Hi Ediz, you don’t need to use a separate Playground password to connect it to VS Code. The easiest approach is to authorize the specific Playground directly from VS Code using Salesforce CLI.

    In VS Code, use Command Palette → SFDX: Authorize an Org, choose the appropriate login URL, and complete the Salesforce login. Make sure you select the Playground/org you want to work with, rather than your main Salesforce org.

    If you’re being redirected to your main org, please check that you’re signing in with the Salesforce credentials associated with the Playground. You can also retrieve the Playground username from Trailhead → your profile → Hands-On Orgs → Playground → Username.

    If you still can’t authorize the Playground, please share the exact error message from VS Code and the Salesforce CLI version you’re using. 

0/9000