Universal Login + Identifier First + Back button edge-case

Hi Everyone,
I have a question about Universal Login page behavior, with “Identifier First” approach.

  1. When I enter email and press continue - I get to second page where I need to enter password as expected.
  2. However, now if I click “Back” button in the browser - I get back to broken “Identifier First“ page. It looks okay, but “Continue” button is not working at this point, I can type email but cannot submit it.
  3. But if I refresh page at this point - page is reloaded and “Continue” button works again.

Is there any way to fix “Back” button behavior? Or it is expected to not work with “Identifier First” approach? Is there way to forcefully reload page so that “Identifier First” approach would work as intended?

Hi @mykola.revutskyi,

This behavior is an edge case commonly encountered in Single Page Applications (SPAs), which is what the New Universal Login experience is. When you use the browser’s “Back” button, the browser attempts to restore the previous page state from its cache, which can conflict with the Universal Login page’s internal JavaScript state for the Identifier First flow, resulting in an unresponsive “Continue” button.

If you have any further questions, please don’t hesitate to reach out!

Have a good one,
Vlad

1 Like