Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11059

Login in Starter Webapps doesn't work

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • spring-boot 3.4.0
    • spring-boot, webapp
    • None

    Description

      Given:
      Camunda version: 7.12.0-SNAPSHOT
      Spring Boot version: 2.1.8.RELEASE
      Camunda Starter version: 3.4.0-SNAPSHOT
      Example: spring-boot-starter/example-webapp-ee

      When:
      A user attempts to login to any of the webapps.

      Then:
      Log:

      A servlet request to the URI http://localhost:8080/api/admin/auth/user/default/login/welcome contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
      

      Then (on a different setup):
      Camunda version: 7.12.0-SNAPSHOT
      Spring Boot version: 2.2.1.RELEASE
      Camunda Starter version: 3.4.0-SNAPSHOT
      Example: spring-boot-starter/example-webapp-ee

      Web Console Error (see spring-boot-web-console-error.log) and log:

      2019-11-13 13:41:10.058  INFO 25478 --- [nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie  : A cookie header was received [N1:C N2:C N3:E N4:E N5:C N6:C N7:C N8:E N9:C N10:E N11:C N12:E N13:C N14:C N15:C N16:C N17:C N18:E N19:C N20:C N21:C N22:C N23:C N24:C N25:C N26:C N27:C N28:C N29:C N30:C N31:C N32:C N33:C; TJE=] that contained an invalid cookie. That cookie will be ignored.
       Note: further occurrences of this error will be logged at DEBUG level.
      

      Expected:
      A user can login without a problem.

      Note: Using the latest WildFly Snapshot distro, the login works fine.
      Note 2: When using the 7.12.0-alpha5 with the Starter 3.4.0-SNAPSHOT, the login works fine.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                akif.hazarvi Akif
                nikola.koevski Nikola Koevski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Salesforce