bigcommerce / b2b-buyer-portal

B2B Buyer Portal - BigCommerce B2B Edition
MIT License
25 stars 19 forks source link

Forgot Password > lands on B2B login page after login #76

Open SE-Graham opened 1 month ago

SE-Graham commented 1 month ago

Type: (Select one)

Summary:

When using forgot password and after entering your new password you land on the B2B login page (which is the start of your session), you login but then end up on the login page and our customers don't realise that you are logged in.

You then need to click the x top right and this reveals you are actually logged in.

This only happens when the Login Landing Location is set to Storefront when set to Buyer Portal you land on the Buyer Portal.

Expected Behavior:

When Login Landing Location is set to Storefront and the user resets their password and they login they should end up back on the Storefront not the B2B login page.

Actual Behavior:

When Login Landing Location is set to Storefront and the user resets their password and they login they end up on the B2B login page. (They are already logged in). We believe this happens as a user clicks on the link from the email to reset their password and B2B believes that there last session ended on the login screen.

Steps to Reproduce (Bug Reports Only):

  1. Request Password Reset
  2. Click Link in Email
  3. Enter New Password and Login

Additional Information:

Only any issue when Login Landing Location is set to Storefront when set to Buyer Portal they land on the Buyer Portal

Version:

95a908fa7e9071dbc333c16297c5c867b4a07249