Improving login flow and session synchronization across tabs requires deep understanding of authentication and session management.
The issue describes a tedious login process and the need for session synchronization across multiple tabs. Implementing this requires changes to authentication flow and session management, which are complex and cross-cutting.
Firstly, there are too many screens to click through if ERPNext has logged you out and you need to log back in and it doesn't even show that you are logged out until you try to do something. e.g. you can fill in a form and only realise you are logged out when you hit Save. It should show you are logged out and go straight to a single sign-in page.
If I have multiple ERPNExt tabs open in my browser (latest Firefox), if I have to log back into one (with painful email passcode 2FA) then I have to do the same for all other ERPNext tabs! No other app is this clunky. A token or cookie should be used so the other tabs are instantly aware that I am now logged in. This is very painful behaviour.
portal
ERPNext: v14.83.0 (HEAD)
Frappe Framework: v14.94.1 (HEAD)
None
Claim this issue to let others know you're working on it. You'll earn 35 points when you complete it!