When using 2 different instances of the forest-monitor front-end in the same browser session, the user login info is overwritten by the second login information.
The best solution for this problema is changing the localStorage key (now is 'user') to 'user_APP_NAME'.
The APP_NAME variable is the same that is used for oauth. (eg. 'user_forest-monitor-ibama', 'user_forest-monitor-local')
When using 2 different instances of the forest-monitor front-end in the same browser session, the user login info is overwritten by the second login information. The best solution for this problema is changing the localStorage key (now is 'user') to 'user_APP_NAME'. The APP_NAME variable is the same that is used for oauth. (eg. 'user_forest-monitor-ibama', 'user_forest-monitor-local')