{"section":"known-issues","requestedLocale":"en","requestedSlug":"portal-doesnt-delete-cookies-when-client-logout-at-checkout","locale":"en","slug":"portal-doesnt-delete-cookies-when-client-logout-at-checkout","path":"docs/en/known-issues/Portal/portal-doesnt-delete-cookies-when-client-logout-at-checkout.md","branch":"main","content":"## Summary\n\n\nAt a store's checkout, we have an option to log out.\n\nUnfortunately, the request made to the portal application does not delete the user's cookies, which remain on the OrderForm with the client's email, so the client cannot log out using this option. This behavior happens in stores with a storefront solution other than \"Legacy CMS Portal\".\n\n\n#### Simulation\n\n\n1. Go to the store's website (`www.store.com`) and login from My Account using email and code;\n2. Once you log in, make a cart and go to checkout;\n3. Complete the Profile step and go to Shipping, then try to log out from the \"It's not me, end session\" link.\n\nCheckout performs the request normally, making the request along with the `orderFormId`\n\nHowever, the Portal Application does not delete this user's cookie and thus returns the same user. The email is kept in the order form, and consequently, it is not logged out.\n\n\n#### Workaround\n\n\nOpen a ticket with VTEX asking to enable the logout with VTEX ID."}