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

smallrye.jwt.client.tls.hosts or smallrye.jwt.client.tls.trusted.hosts #626

Closed
agreedSkiing opened this issue Jul 26, 2022 · 1 comment · Fixed by #627
Closed

smallrye.jwt.client.tls.hosts or smallrye.jwt.client.tls.trusted.hosts #626

agreedSkiing opened this issue Jul 26, 2022 · 1 comment · Fixed by #627

Comments

@agreedSkiing
Copy link

agreedSkiing commented Jul 26, 2022

Issue

In the configuration.adoc file the configuration parameter for trusted hosts is smallrye.jwt.client.tls.trusted.hosts but whilst searching for it in the code base it is instead called smallrye.jwt.client.tls.hosts in JWTAuthContextInfoProvider.java.
This small difference might leed to some problems in the future.

Solutions

  1. Change configuration.adoc to match code
  2. Change code to match configurations.adoc configuration parameter name (this would make name match the existing javadoc)
  3. Do nothing
@sberyozkin
Copy link
Contributor

@agreedSkiing Thanks for spotting it, it is a typo in the docs, option 1 is a solution.

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 a pull request may close this issue.

2 participants