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

New keycloak_quarkus_hostname_strict_https parameter #195

Conversation

InfoSec812
Copy link
Contributor

Resolves #193

Added a new option keycloak_quarkus_hostname_strict_https with no default value.

If the option is set, the Jinja template for keycloak.conf.j2 checks to see if the value is either true or false and applies it appropriately

Copy link
Member

@guidograzioli guidograzioli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a minor change needed, thanks for the contribution

roles/keycloak_quarkus/templates/keycloak.conf.j2 Outdated Show resolved Hide resolved
@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Apr 18, 2024
@InfoSec812
Copy link
Contributor Author

@guidograzioli I modified it to better handle ensuring that the value is a boolean and it should address your concern as well.

@guidograzioli
Copy link
Member

Thanks for updating, but the specification for the new parameter is still needed here:
https://github.com/ansible-middleware/keycloak/blob/main/roles/keycloak_quarkus/meta/argument_specs.yml#L335

@InfoSec812
Copy link
Contributor Author

@guidograzioli OK, I think that latest change should cover it.

Thanks!

Copy link
Member

@guidograzioli guidograzioli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@guidograzioli guidograzioli merged commit 82498ab into ansible-middleware:main Apr 19, 2024
18 checks passed
@guidograzioli guidograzioli changed the title Added hostname-strict-https option New keycloak_quarkus_hostname_strict_https parameter Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to set hostname-strict-https=false
2 participants