sciserver / scidrive-ui

Web UI for scidrive
http://www.scidrive.org
Apache License 2.0
0 stars 0 forks source link

Change the scidrive login workflow described below #50

Closed jkim485 closed 8 years ago

jkim485 commented 8 years ago

Currently implementation is

  1. user sign in from the login portal and get a token.
  2. User clicks 'scidrive' button on the login portal page.
  3. User is brought to http://scitest09.pha.jhu.edu/scidrive/ and user has to click the login button in order to get to the root.

Instead, please do the following: 1.-2. Repeat steps 1 and 2 as above.

  1. User is directly brought to the root folder not to http://scitest09.pha.jhu.edu/scidrive.
jkim485 commented 8 years ago

Tested on pre-prod: not updated yet. Reported on the following issue page: https://github.com/sciserver/sciserver-sso-portal/issues/22

dmedv commented 8 years ago

This requires changes to SciDrive front page at http://hostname/scidrive If a user is logged in, it should simply redirect to http://hostname/scidrive/scidrive.html The login portal will keep pointing to http://hostname/scidrive Reassigning Dima to make changes to the front page.

dimm0 commented 8 years ago

You can redirect to scitest09/scidrive/scidrive.html

The index page doesn't have any javascript and doesn't know whether the user was logged in or not