Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3159

Return noLicenseStored error instead of redirect

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

    Description

      With OPT-2777, we added the License page to the React build. In order to remove the standalone license page, the backend needs to change it's behavior when no valid license is present. The current behavior is a redirect to the static license page. Instead, api calls need to return a 403 response code

       

      AT:

      • If there is no valid license stored, any request against the API returns 403 Forbidden
      • The 403 response body contains a JSON error object. The errorCode property must be set to noLicenseStoredError
      • This should also affect the public api functions (e.g. sharing)
      • The following resources should be accessible without a license:
        • all HTML, JS, CSS and font resources
        • the ui-configuration
        • the import status websocket
        • the localization files
        • the validate and store license endpoints
      • The meta endpoint is removed
      • The license.html, license.js and licenseStyles.css files are removed from /client/public

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian.stamm Sebastian Stamm
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce