summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoromnom62 <omnom62@outlook.com>2026-10-08 06:05:05 +1000
committeromnom62 <omnom62@outlook.com>2026-10-08 06:05:05 +1000
commit38c86f32d1b576314a5053b48c380ce2dd7436f7 (patch)
treed28d9fc9fa207400f0a11ce1dcf0b4f54e692851 /docs
parent09fcbcb4f09759bbbb067ab356706ef3d330d586 (diff)
downloadrest.vyos-t8989_auth_methods_rework.tar.gz
rest.vyos-t8989_auth_methods_rework.zip
T8989: auth_methods - AI fixes - hardent8989_auth_methods_rework
Diffstat (limited to 'docs')
-rw-r--r--docs/vyos.rest.vyos_httpapi.rst54
1 files changed, 53 insertions, 1 deletions
diff --git a/docs/vyos.rest.vyos_httpapi.rst b/docs/vyos.rest.vyos_httpapi.rst
index 608339d..b91c229 100644
--- a/docs/vyos.rest.vyos_httpapi.rst
+++ b/docs/vyos.rest.vyos_httpapi.rst
@@ -89,6 +89,32 @@ Parameters
<tr>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
+ <b>oidc_allow_insecure_http</b>
+ <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
+ <div style="font-size: small">
+ <span style="color: purple">boolean</span>
+ </div>
+ </td>
+ <td>
+ <ul style="margin: 0; padding: 0"><b>Choices:</b>
+ <li><div style="color: blue"><b>no</b>&nbsp;&larr;</div></li>
+ <li>yes</li>
+ </ul>
+ </td>
+ <td>
+ <div> ini entries:
+ <p>[httpapi]<br>oidc_allow_insecure_http = no</p>
+ </div>
+ <div>var: ansible_httpapi_oidc_allow_insecure_http</div>
+ </td>
+ <td>
+ <div>By default the OIDC token endpoint must use <code>https</code>, because the request carries the client secret and the response carries a bearer token. Set this to <code>true</code> to allow a plain <code>http</code> endpoint.</div>
+ <div>Intended for isolated lab setups only. With this enabled the client secret and the access token travel in cleartext and can be captured and replayed by anyone on the network path.</div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="1">
+ <div class="ansibleOptionAnchor" id="parameter-"></div>
<b>oidc_client_id</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
@@ -171,6 +197,32 @@ Parameters
<div>Token endpoint URL of the OIDC provider. Required for auth_method <code>oidc</code>.</div>
</td>
</tr>
+ <tr>
+ <td colspan="1">
+ <div class="ansibleOptionAnchor" id="parameter-"></div>
+ <b>oidc_validate_certs</b>
+ <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
+ <div style="font-size: small">
+ <span style="color: purple">boolean</span>
+ </div>
+ </td>
+ <td>
+ <ul style="margin: 0; padding: 0"><b>Choices:</b>
+ <li>no</li>
+ <li><div style="color: blue"><b>yes</b>&nbsp;&larr;</div></li>
+ </ul>
+ </td>
+ <td>
+ <div> ini entries:
+ <p>[httpapi]<br>oidc_validate_certs = yes</p>
+ </div>
+ <div>var: ansible_httpapi_oidc_validate_certs</div>
+ </td>
+ <td>
+ <div>Validate the TLS certificate of the OIDC token endpoint.</div>
+ <div>Set to <code>false</code> only for a lab identity provider that uses a self-signed certificate.</div>
+ </td>
+ </tr>
</table>
<br/>
@@ -188,7 +240,7 @@ Status
Authors
~~~~~~~
-- Evgeny Molotkov (@eomnom62)
+- VyOS Community (@vyos)
.. hint::