Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1626

CBATS : Change page text for Token Expiration

    Details

      Description

      when token get expired we shows a Unauthorized page with Token Expired text.

      So in case of expiration of token , need to show only details for Token Expiration.

      Refer Beta-486

      Requirements:

      Unauthorized Access

      1. The following text shall be shown when a User access a screen or area that they do not have the correct permissions or access rights:
        • "Unauthorized Access"
        • "You do not have access to this page and content on it."

      Expired Token

      1. The following text shall be shown when a User access a screen in which they have permission, but their token has expired and requires a refresh:
        • "Expired Token"
        • "Your session has timed out. Please reload the page to access the content on this page."

        Attachments

          Activity

          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Hello Robert Malony,

          We need text to show for token expiration. So we can implement that text.

          You can refer JIRA BETA-486 for more details.

          Thanks,
          RohanK

          CC – Samir ,Satya

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Hello Robert Malony , We need text to show for token expiration. So we can implement that text. You can refer JIRA BETA-486 for more details. Thanks, RohanK CC – Samir , Satya
          Hide
          Robert.Malony Robert Malony (Inactive) added a comment -

          Hi Rohan J Khandave,

          What is needed to fix this from the User's perspective? Basically once I know that, can recommend what the text should be.

          Because the text should be to 1) let them know what the issues is and 2) how to fix it.

          -Robert

          cc: Samir and Satya

          Show
          Robert.Malony Robert Malony (Inactive) added a comment - Hi Rohan J Khandave , What is needed to fix this from the User's perspective? Basically once I know that, can recommend what the text should be. Because the text should be to 1) let them know what the issues is and 2) how to fix it. -Robert cc: Samir and Satya
          Hide
          samir Samir added a comment -

          Hi Robert Malony,

          Need text to inform the user that session has been expired and he needs to refresh

          Regards,

          Samir

          Show
          samir Samir added a comment - Hi Robert Malony , Need text to inform the user that session has been expired and he needs to refresh Regards, Samir
          Hide
          akash.thakur Akash Thakur (Inactive) added a comment -

          Hi All,

          I have completed the code changes for this Jira & please find attached screenshots above. PR has been raised under DMS-1626 & i have unit tested the scenarios for changes. Narendra Kumar please review this code & merge this into develop branch.

          Thanks,

          Akash Thakur

          Rohan J Khandave Samir Narendra Kumar Ganesh Sadawarte

          Show
          akash.thakur Akash Thakur (Inactive) added a comment - Hi All, I have completed the code changes for this Jira & please find attached screenshots above. PR has been raised under DMS-1626 & i have unit tested the scenarios for changes. Narendra Kumar please review this code & merge this into develop branch. Thanks, Akash Thakur Rohan J Khandave Samir Narendra Kumar Ganesh Sadawarte
          Hide
          akash.thakur Akash Thakur (Inactive) added a comment -

          Hi All,

          Please find details of token expiry implementation below

          • When a user logs in to the system a token is created for user & its expiry is set to 20 mins from creation time (time is configurable from config).
          • If a user is idle up to 20 mins without any action a pop up is displayed to the user on his first action after 20 mins with the appropriate message and on click of the OK, the user is redirected to the login screen.
          • if a user is idle or active & performs any action within the specified expiry duration the token expiry time is extended with the further 20 mins from current time.

          Thanks,

          Akash Thakur,

          Rohan J Khandave Ganesh Sadawarte Samir Narendra Kumar

           

          Show
          akash.thakur Akash Thakur (Inactive) added a comment - Hi All, Please find details of token expiry implementation below When a user logs in to the system a token is created for user & its expiry is set to 20 mins from creation time (time is configurable from config). If a user is idle up to 20 mins without any action a pop up is displayed to the user on his first action after 20 mins with the appropriate message and on click of the OK, the user is redirected to the login screen. if a user is idle or active & performs any action within the specified expiry duration the token expiry time is extended with the further 20 mins from current time. Thanks, Akash Thakur, Rohan J Khandave Ganesh Sadawarte Samir Narendra Kumar  
          Hide
          akash.thakur Akash Thakur (Inactive) added a comment -

          Narendra Kumar code review changes done.

          Show
          akash.thakur Akash Thakur (Inactive) added a comment - Narendra Kumar code review changes done.
          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Testing in-progress. Samir Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Akash Thakur
          Hide
          akash.thakur Akash Thakur (Inactive) added a comment -

          Hi All,

          We have modified a message for "Expired Token" below are the updated details

          OLD:-Your session has timed out. Please reload the page to access the content on this page.

          NEW:-Your token is expired. Please regenerate the token to access the content.

          If the link token gets expired so it would not regenerate/activate the expired token on reloading the page, hence we have modified the suggested message with a new one.

          Scenario*:*- when the user clicks on the link provided & that link validated time i.e 24hrs gets completed then its token gets expired & we need to regenerate link.

          Thanks,
          Akash Thakur

          Ganesh Sadawarte Samir Narendra Kumar Rohan J Khandave Priya Dhamande Robert Malony
           

          Show
          akash.thakur Akash Thakur (Inactive) added a comment - Hi All, We have modified a message for  "Expired Token" below are the updated details OLD:- Your session has timed out. Please reload the page to access the content on this page. NEW:- Your token is expired. Please regenerate the token to access the content. If the link token gets expired so it would not regenerate/activate the expired token on reloading the page, hence we have modified the suggested message with a new one. Scenario*:*- when the user clicks on the link provided & that link validated time i.e 24hrs gets completed then its token gets expired & we need to regenerate link. Thanks, Akash Thakur Ganesh Sadawarte Samir Narendra Kumar Rohan J Khandave Priya Dhamande Robert Malony  
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited

          Environment: Production
          Login: Candidate
          Link: https://dmsstage.workterra.net/unAuthorized?error=TokenExpired&logintype=2

          We issue is resolved for the spelling of regenerate. Refer screen capture.

          So, marking jira done.

          Samir Rohan J Khandave Hrishikesh Deshpande Sachin Hingole

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited Environment: Production Login: Candidate Link: https://dmsstage.workterra.net/unAuthorized?error=TokenExpired&logintype=2 We issue is resolved for the spelling of regenerate. Refer screen capture. So, marking jira done. Samir Rohan J Khandave Hrishikesh Deshpande Sachin Hingole

            People

            Assignee:
            akash.thakur Akash Thakur (Inactive)
            Reporter:
            rohan.khandave Rohan J Khandave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7.4h
                7.4h