gawati / gawati-portal-ui

Version 2 of the gawati portal
GNU Affero General Public License v3.0
0 stars 0 forks source link

Authentication expired message on non logged in portal page #85

Open kohsah opened 6 years ago

kohsah commented 6 years ago

When the portal is opened and left still ... After a while an alert message pops up "login has expired"

kohsah commented 6 years ago

This happens because: https://github.com/gawati/gawati-portal-ui/blob/bd96fcdef94bace9ed5c06f7a502c05b105f00ef/src/index.js#L34 if you are not logged in after a while refreshToken() fails (i.e. the session has expired ? ) perhaps the best option in such cases is to redo initSSORequired() ?