h2020-westlife-eu / virtualfolder

Virtual Folder
http://internal-wiki.west-life.eu/w/index.php?title=D6.1
MIT License
1 stars 0 forks source link

Filepicker and UploadDir component should allow to login/logout to west-life portal #36

Closed TomasKulhanek closed 7 years ago

TomasKulhanek commented 7 years ago

Filepicker and UploadDir component should allow to login/logout to west-life portal. This may apply for any component - detecting HTTP 401 unauthorized to redirect

TomasKulhanek commented 7 years ago

/virtualfolder redirects to /login when 403 is returned by backend service - this leads in

Current issue: When going to /virtualfolder/filepickercomponent.html - 403 is redirected to /login and after user logs in, it is not redirected back to filepicker.html but only to the default /virtualfolder/ (vf settings not the file picker component)

TomasKulhanek commented 7 years ago

https://github.com/h2020-westlife-eu/VRE/issues/10

TomasKulhanek commented 7 years ago

fixed by pullrequest

TomasKulhanek commented 7 years ago

As a side note, when not logged in, a javascript type flash error is poping-up in the filepicker window before the redirection to ARIA login page (see screenshot attached). That's not really user-friendly I would say, couldn't we just have a transparent redirection to the login page without any error popping up when a user is not logged in yet?