Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

pmauduit
Copy link
Member

@pmauduit pmauduit commented Nov 17, 2023

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.

@pmauduit pmauduit changed the title json headers - organization as json payload is not transmitted fix fix: geOrchestra json headers - organization as json payload is not transmitted Nov 17, 2023
Resolve and store user organization for extended LDAP configs

Tests: adding an IT
@pmauduit pmauduit force-pushed the fix-georchestra-headers-as-json branch from 40ef0a5 to 67d03ad Compare November 17, 2023 14:42
@pmauduit pmauduit marked this pull request as ready for review November 17, 2023 14:43
@pmauduit pmauduit merged commit 95ee6ec into main Nov 17, 2023
3 checks passed
@pmauduit pmauduit deleted the fix-georchestra-headers-as-json branch November 17, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants