is it possible in share to show the user a pop-up after authentication. This pop-up would display the use's terms and have two buttons : -Accept : the user has access to the dashboard -Refuse : the user is disconnected and redirected to the login page
Nope that's not the correct file to modify. Probably you can modify header.js and display the popup for a user based on condition to display as header.js would be loaded each time you navigate to any pages when you are logged in share.