Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-826

TSR : Manage tours page - calling from outside system with call back URL

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Module:
      TSR
    • Reported by:
      CareerBuilder
    • Item State:
      Production Complete - Closed
    • Sprint:
      TSR OnBoard - 28 Mar - 12 May
    • Severity:
      Medium

      Description

      Requirement:
      We have this new page in development for "Manage OnBoard Tours". We need to allow this page to be called from outside system.

      Flow would be like:-

      • TSR will have a menu in their system for "Manage OnBoard Tours"
      • WT will share URL of this page with TSR
      • On click of this link in TSR, user will be redirected to Workterra login page with a parameter / call back path in URL that will take admin user directly to "Manage OnBoard Tours" page in WT after successful login.

      Assume that there is a valid admin user account configured in WT for this.

        Attachments

          Issue Links

            Activity

            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment - - edited

            Hi Saurabh Sablaka,

            Queries: Will the link contain company id? What will the structure of URL that we will be sharing for "Manage Onboard tours"

            We have a Login function which accepts almost 8 parameters.Out of those first 6 parameters are
            Parameter1 is for CaseID
            Parameter2 is for LanguageId
            Parameter3 is for CompanyId
            Parameter4 is for JobID
            Parameter5 is for RoleID
            Parameter6 is for EmployeeID

            CaseID can be set to a harcoded value for us to identify from where the call has come from.Need to keep this in session for identification.
            Company ID should be in the link for us to identify to which company,we should re-direct to. Other parameters are optional.

            On entering the credentials, based on session value of caseid,page will be redirected to "Manage onboard tours".

            Please let me know your view on this.
            Let me know incase you have any different approach.

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - - edited Hi Saurabh Sablaka , Queries: Will the link contain company id? What will the structure of URL that we will be sharing for "Manage Onboard tours" We have a Login function which accepts almost 8 parameters.Out of those first 6 parameters are Parameter1 is for CaseID Parameter2 is for LanguageId Parameter3 is for CompanyId Parameter4 is for JobID Parameter5 is for RoleID Parameter6 is for EmployeeID CaseID can be set to a harcoded value for us to identify from where the call has come from.Need to keep this in session for identification. Company ID should be in the link for us to identify to which company,we should re-direct to. Other parameters are optional. On entering the credentials, based on session value of caseid,page will be redirected to "Manage onboard tours". Please let me know your view on this. Let me know incase you have any different approach.
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Files affected:

            Controllers/Login/Login/LoginController.cs
            Models/Login/Login/UsersModels.cs

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Files affected: Controllers/Login/Login/LoginController.cs Models/Login/Login/UsersModels.cs
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment - - edited

            As per the flow given in the description, WT will be giving a link to TSR for their manage onboard tours menu.
            The link will be in below format:

            [Site URL]/Platform/Login/Login?Parameter1=6tEVTdRhR5E%3d&Parameter2=KwaSe%2bMzzuM%3d&Parameter3=WwFI%2bI0yNQo%3d&Parameter4=X0PH9n%2b%2bc50%3d&Parameter5=76coPBx5rcODG4N%2fDchy7iIwJA6FHt41tn158fK8SH4WfusVxCBamEB2tpq8jOcV

            Parameter values are encoded and encrypted.
            The parameters are as follows:
            Parameter 1 is CaseID = 5
            Parameter 2 is LanguageID = 1
            Parameter 3 is CompanyID = 0 (as we are considering only CA login)
            Parameter 4 is ModuleID = 6
            Parameter 5 is CallBack URL = Customization/Customization/ManageOnBoardStatus

            On entering valid CA credentials,User will be redirected to Manage Onboard Status Page.

            Please verify below points:
            1. Normal SA, Partner,CA,Employee login
            2. Using above link, verify SA,Partner etc. login (If instead of CA,SA is logged in using above url,He will be redirected to platform dashboard)

            Below Testing Scenarios verified :
            1. Verified that session values are properly getting updated in redirection to call back url (eg: RoleID,LevelID,ProjectID,ModuleID,Currency format)
            2. Verified normal SA and SP login
            3. Verified normal CA login
            4. Verified redirection
            5. If instead of CA,SA is logged in using above url,He will be redirected to platform dashboard

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - - edited As per the flow given in the description, WT will be giving a link to TSR for their manage onboard tours menu. The link will be in below format: [Site URL] /Platform/Login/Login?Parameter1=6tEVTdRhR5E%3d&Parameter2=KwaSe%2bMzzuM%3d&Parameter3=WwFI%2bI0yNQo%3d&Parameter4=X0PH9n%2b%2bc50%3d&Parameter5=76coPBx5rcODG4N%2fDchy7iIwJA6FHt41tn158fK8SH4WfusVxCBamEB2tpq8jOcV Parameter values are encoded and encrypted. The parameters are as follows: Parameter 1 is CaseID = 5 Parameter 2 is LanguageID = 1 Parameter 3 is CompanyID = 0 (as we are considering only CA login) Parameter 4 is ModuleID = 6 Parameter 5 is CallBack URL = Customization/Customization/ManageOnBoardStatus On entering valid CA credentials,User will be redirected to Manage Onboard Status Page. Please verify below points: 1. Normal SA, Partner,CA,Employee login 2. Using above link, verify SA,Partner etc. login (If instead of CA,SA is logged in using above url,He will be redirected to platform dashboard) Below Testing Scenarios verified : 1. Verified that session values are properly getting updated in redirection to call back url (eg: RoleID,LevelID,ProjectID,ModuleID,Currency format) 2. Verified normal SA and SP login 3. Verified normal CA login 4. Verified redirection 5. If instead of CA,SA is logged in using above url,He will be redirected to platform dashboard
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Hi Prasad Pise,

            Please verify the enhancement once deployed on LB.

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Prasad Pise , Please verify the enhancement once deployed on LB.
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Added QA estimations to original

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Added QA estimations to original
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the change on Production, working as expected. Closing the ticket.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the change on Production, working as expected. Closing the ticket.

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              saurabh.sablaka Saurabh Sablaka (Inactive)
              Developer:
              Ramya Tantry (Inactive)
              QA:
              Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 18h Original Estimate - 18h
                  18h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20.75h
                  20.75h