Unable to view LWR B2B store

Abierto
#199 3 comentarios 0 reacciones 1 asignado Ver en GitHub

@nrkruk ya está trabajando en esto.

Desde el 23/10/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

BUG P2

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?

Screenshot 2024-10-12 at 16 50 30

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.

Lenguaje dominante
TypeScript
Estrellas
19
Forks
19
Merge medio
3 d 12 h
PR fusionados (30 d)
2

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de salesforcecli/plugin-lightning-dev

Todos los issues de salesforcecli/plugin-lightning-dev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.