We create a password reset ticket. In the link, we can see the “Back to Application” button. Then we create the 2nd password reset ticket for the same user and notice the “Back to Application” button missing from the first link.
This is the expected behavior. When a new ticket is created, we delete all older tickets of the same type (password reset in this case) for a specific user. So we don’t have any information about the tenant/connection for the old ticket and cannot render the button.
Please note that another cause of the same issue is not setting the Default Login routes.