Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6185 Process Onboarding UX Prototype Iteration #1
  3. OPT-6280

Provide user authentication for API call for OPT-6254 directly from Cloud SaaS session token

    • Not defined

      Provide user authentication for API call for OPT-6254 directly from Cloud SaaS session token.

      Break down from original scope of Task OPT-6254

        This is the controller panel for Smart Panels app

            [OPT-6280] Provide user authentication for API call for OPT-6254 directly from Cloud SaaS session token

            Giuliano Rodrigues Lima created issue -
            Giuliano Rodrigues Lima made changes -
            Link New: This issue is depended on by OPT-6254 [ OPT-6254 ]
            Giuliano Rodrigues Lima made changes -
            Status Original: Open [ 1 ] New: In Development [ 10312 ]
            Giuliano Rodrigues Lima made changes -
            Assignee New: Sebastian Bathke [ sebastian.bathke ]
            Status Original: In Development [ 10312 ] New: In Review [ 10212 ]
            Sebastian Bathke made changes -
            Assignee Original: Sebastian Bathke [ sebastian.bathke ] New: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ]
            Status Original: In Review [ 10212 ] New: Rework [ 11413 ]
            Giuliano Rodrigues Lima made changes -
            Assignee Original: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] New: Cigdem Ilhan [ cigdem.ilhan ]
            Status Original: Rework [ 11413 ] New: In Test [ 10004 ]

            Giuliano Rodrigues Lima added a comment - - edited

            Notes for testing:

            • Open Web-Modeler on the same SaaS environment of Optimize (e.g. both dev)
            • With F12 (developer tools), do some operation in the web-modeler and from one of the requests copy the value of "cookie" from the request header
            • Copy the text from the cookie from the step above to a text editor, look for modeler_token0=<HUGE_STRING>. Copy the value of huge String, up to, but not including, the character ";" (Tip: to find the end of huge string, look for modeler_token0.sig=, this starts immediately after the string above ends). The value of <HUGE_STRING> is your JWT Token 
            • In Postman, make a post request to https://<OPTIMIZE_URL_INCLUDING_CLUSTER_ID>/api/process/initial-owner
              • Body:  { "processDefinitionKey": "<YOUR_PROCESS_DEF_KEY>", "owner": "<CLOUD_USER_ID>" }Example for Cloud user ID: samlp|Okta|giuliano.rodrigues-lima@camunda.com
                Authorization: Type Bearer Token. Value: The JWT Token from above (the huge string)
                 
                 
            • Expected Result 204

            Giuliano Rodrigues Lima added a comment - - edited Notes for testing: Open Web-Modeler on the same SaaS environment of Optimize (e.g. both dev) With F12 (developer tools), do some operation in the web-modeler and from one of the requests copy the value of "cookie" from the request header Copy the text from the cookie from the step above to a text editor, look for modeler_token0=<HUGE_STRING>. Copy the value of huge String, up to, but not including, the character ";" (Tip: to find the end of huge string, look for modeler_token0.sig=, this starts immediately after the string above ends). The value of <HUGE_STRING> is your JWT Token  In Postman, make a post request to https://<OPTIMIZE_URL_INCLUDING_CLUSTER_ID>/api/process/initial-owner Body:  { "processDefinitionKey": "<YOUR_PROCESS_DEF_KEY>", "owner": "<CLOUD_USER_ID>" }Example for Cloud user ID: samlp|Okta|giuliano.rodrigues-lima@camunda.com Authorization: Type Bearer Token. Value: The JWT Token from above (the huge string)     Expected Result 204
            Cigdem Ilhan made changes -
            Assignee Original: Cigdem Ilhan [ cigdem.ilhan ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Test [ 10004 ] New: Done [ 10010 ]
            Joshua Windels made changes -
            Fix Version/s New: 3.9.0-preview-1 [ 17711 ]
            Joshua Windels made changes -
            Labels Original: current_release potential_for_3.9 New: current_release next_release potential_for_3.9

              Unassigned Unassigned
              giuliano.rodrigues-lima Giuliano Rodrigues Lima
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: