{"section":"known-issues","requestedLocale":"en","requestedSlug":"admin-loading-failure-due-to-multiple-b2b-logins","locale":"en","slug":"admin-loading-failure-due-to-multiple-b2b-logins","path":"docs/en/known-issues/Admin/admin-loading-failure-due-to-multiple-b2b-logins.md","branch":"main","content":"## Summary\n\n\n\nThis problem occurs in accounts configured for B2B flow, when the same user accesses the webstore and admin using different e-mail addresses (or even the same ones, in different sessions).\nAs both interfaces share the same base domain (`*.myvtex.com`), the authentication cookies saved by the browser - especially the `VtexIdClientAutCookie` - conflict.\nDuring the loading of some admin screens, such as the Orders module, the system uses session tokens based on these cookies to validate permissions. When multiple logins are active in the same domain, the token may not match the expected session, resulting in a 500 error in the interface calls.\nThis scenario is common, for example, when a B2B user logs into the store with a personal email and simultaneously accesses the admin with a corporate email, the overlapping of cookies causes authentication failures and blocks parts of the UI from loading.\n\n\n#### Simulation\n\n\n\n\n- Access the webstore by logging in with the e-mail `xxxx@example.com`,\n\n\n- in another tab, access the admin by logging in with a different e-mail, such as `xxxx@othereExample.com`\n\n\n- Navigate to the Orders module in the admin.\n\n- Please note that the loading of orders may fail, resulting in error 500 due to a session cookie conflict.\n\n\n\n#### Workaround\n\n\n\nTo fix this, log out of both environments (webstore and admin) and log back in using the same e-mail address in both. This ensures that cookies are synchronized correctly, eliminating the conflict."}