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

Returns empty uuid for "on-behalf-of" user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • 7.1.0
    • None
    • cbauth
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      When request is made with "on-behalf-of" header creds.Uuid() gives empty string for "local" user.

      Looking at the "VerifyOnBehalf()" call it will just populate the User and Domain field.
      https://github.com/couchbase/cbauth/blob/2821aa6c2ce9332d877a587b7ab2a0ac4fdb2969/cbauthimpl/impl.go#L618

      Attachments

        Activity

          People

            ankit.prabhu Ankit Prabhu
            ankit.prabhu Ankit Prabhu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty