georchestra / georchestra-gateway

GNU General Public License v3.0
0 stars 6 forks source link

fix: geOrchestra json headers - organization as json payload is not transmitted #82

Closed pmauduit closed 10 months ago

pmauduit commented 10 months ago

When the following configuration is set:

georchestra:
  gateway:
    default-headers:
      proxy: true
      username: true
      roles: true
      org: true
      orgname: true
      jsonUser: true
      jsonOrganization: true

The sec-organization base64-encoded JSON header is actually not provided. It looks like the organization is not fetched from the geOrchestra LDAP, hence the code not able to serialize it as expected.