Unable to view LWR B2B store
@nrkruk is already working on this.
Since Oct 23, 2024.
Assessment
This issue has not been assessed yet.
Description
Hello,
I am trying to use the plugin against one of my B2B LWR store. I followed the documentation and ran the sf lightning dev site command and selected the appropriate B2B store. The command ran successfully and opened the B2B store in a new chrome TAB at localhost:3000. The store then automatically redirects to the login page http://localhost:3000/login?startURL=%2F.
When I enter the B2B buyer username and password to login, the login is successful but I ended up on the non-localhost version of the homepage i.e. https://{{client}}--{{storename}}.sandbox.my.site.com/. I then again tried to visit localhost:3000 but I again ended on the login page.
Output of runtime-info.json file
{
"orgId": "00DQI000007QIdB",
"siteId": "0DMQI0000009eMQ",
"clwrVersion": "252.131",
"coreVersion": "252.9",
"coreChangelist": "49377715",
"bundleGenerationDate": "Oct 12, 2024 2:27:52 PM",
"siteTemplateName": "b2b-storefront",
"deployTarget": "CORE"
}
Is there something that I am missing while using this plugin with LWR based Salesforce commerce cloud stores?
Note: I also tried the command with a different store and in that case I momentarily see the buyer as logged-in but then again I am redirected back to the login page. When I enter correct username/password, I get 401 error.
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 19
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from salesforcecli/plugin-lightning-dev
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
salesforcecli/plugin-lightning-dev#686 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
salesforcecli/plugin-lightning-dev#627 · 2 comments · 1 reaction ·
-
BUG P2
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#544 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#456 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in salesforcecli/plugin-lightning-dev
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·