After Shared Snapshot Link redirects to login page and user logs in, should redirect to appropriate project. #2014
Labels
level: medium
p-feature: Registration Page
/login
p-feature: snapshot
priority: MUST HAVE
role: front-end
Front End Developer
size: 2pt
Can be done in 7-12 hours
Milestone
Overview
We need to have the user redirected to the snapshot link they used to access the TDM site, so that users don't have to log in and then go find the link and paste it into the browser.
Details
When a registered user receives a link to a shared snapshot, they can paste the link into a browser to view the snapshot. However, if they are not already logged in to the application, they are redirected to the login page to log in. In this case, the login page should remember that they were trying to navigate to the snapshot, and redirect back to the snapshot path after a successful login.
more Explanation
If the user is already logged into the application in the current browser under the email associated with the snapshot, a link like https://tdm-dev.azurewebsites.net/projects/254 will work. However if they are logged in with a different account, or not logged in at all, they are redirected to the login page. Once they successfully log in, they are normally redirected to the first page of the "Create Project" wizard, but in this particular case they should be re-directed to the originally requested url, which should now succeed because they are logged in with an account that is authorized to access the snapshot.
Action Items
Resources/Instructions
REPLACE THIS TEXT -If there is a website which has documentation that helps with this issue provide the link(s) here.
The text was updated successfully, but these errors were encountered: