Skip to content

feat(linotp): add linotp_skip_hostname_verify to social.properties and setSocialProps.sh - #31

Merged
kunal0137 merged 2 commits into
masterfrom
fix-linotp-hostname-verify
Nov 24, 2026
Merged

kunal0137 merged 2 commits into
masterfrom
fix-linotp-hostname-verify

Conversation

@kunal0137

@kunal0137 kunal0137 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Semoss now checks the LinOTP server's host name by default (see the Semoss LinOTP PR). This adds the opt-out next to the other LinOTP settings:

  • x/social.properties: linotp_skip_hostname_verify false, with a one-line comment
  • setSocialProps.sh: LINOTP_SKIP_HOSTNAME_VERIFY sets it (same pattern as the other LINOTP_* variables; set_prop only edits lines that exist, so the template line is needed)

The default false matches the code's default. Set LINOTP_SKIP_HOSTNAME_VERIFY=true only for installs whose LinOTP certificate does not match linotp_hostname.

Testing

bash -n on the script; ran set_prop's substitution against the new template (GNU sed): the line becomes linotp_skip_hostname_verify<TAB>true.

Related Snyk PRs

Independent of each other unless noted; none are stacked.

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.

1 participant