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

Trim client secret after reading from file #1697

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Trim client secret after reading from file #1697

merged 1 commit into from
Jan 25, 2024

Conversation

danielalvsaaker
Copy link
Contributor

@danielalvsaaker danielalvsaaker commented Jan 23, 2024

Reading client secret from file will include a line break, which results in a mismatching client secret compared to reading directly from the config. This ensures that the string is trimmed before building the config.

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Fixes #1696.

Reading from file will include a line break, which results in a mismatching client secret
compared to reading directly from the config.
@kradalby kradalby merged commit b4210e2 into juanfont:main Jan 25, 2024
50 checks passed
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.

OIDC client secret containing whitespace when read from file
2 participants