Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60724

SAML: Passing bool instead of string results in internal server error

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • Enable SAML(Enterprise Edition 7.6.0 build 2095)
      • Hit the below endpoint

      curl --location 'http://10.123.233.104:8091/settings/saml' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==' \
      --header 'Cookie: ui-auth-10.123.233.104%3A8091=75381cac4d09d9901503325ef1d7618e' \
      --data '{
          "spSessionExpire": false
      }'

      • This results in 

       

      [    "Unexpected server error, request logged."]
      500 internal server error

      • Note: Passing "false" (string, not bool) does work

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shaazin.sheikh Shaazin Sheikh
            shaazin.sheikh Shaazin Sheikh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty