Skip to content

Viewing Private Run (When Not Logged In) #2

@YusofBandar

Description

@YusofBandar

Current Behaviour
When a user is not logged in and clicks a link, which contains private runs, user is directed back to index page.

Enhanced Behaviour
When a user is not logged in and clicks a link, which contains private runs, user is directed to login. If successfully logged in user is redirected back to view page.


Discussion
Note the SPWA uses Auth0 Universal Login for login. So we leave the SPWA environment

Currently I have thought of two methods to fix this issue:

  1. The link, which contains the private runs, can be stored in local storage. When user logs in the run url is retrieved ,from local storage, and user is redirected.

  2. The link, can be added as a parameter to auth0s callback (for example https://timeseries.com/callback.html?redirect=[RUNS_URL]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion neededThe issue needs further discussionenhancementNew feature or requestspwaSingle Page Web Application

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions