From: Arran Cudbard-Bell Date: Wed, 23 Oct 2019 13:17:56 +0000 (-0400) Subject: Need to include basic auth X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=205e1727f59c60a51ecb1adeb14e8cf1f3df0457;p=thirdparty%2Ffreeradius-server.git Need to include basic auth --- diff --git a/doc/antora/modules/howto/pages/modules/rest/configuration.adoc b/doc/antora/modules/howto/pages/modules/rest/configuration.adoc index 76e7f9b4740..6175c7181c9 100644 --- a/doc/antora/modules/howto/pages/modules/rest/configuration.adoc +++ b/doc/antora/modules/howto/pages/modules/rest/configuration.adoc @@ -128,18 +128,20 @@ rest { ... authenticate { uri = "${..connect_uri}/authenticate" <1> - username = "%{User-Name}" <2> - password = "%{User-Password}" <3> - method = 'get' <4> - tls = ${..tls} <5> + auth = basic <2> + username = "%{User-Name}" <3> + password = "%{User-Password}" <4> + method = 'get' <5> + tls = ${..tls} <6> } ... } ---- <1> The URL to authenticate against. Will be expanded (if required). -<2> Username to submit for HTTP Basic Auth. Will be expanded. -<3> Password to submit for HTTP Basic Auth. Will be expanded. -<4> The HTTP 'verb' to use. -<5> HTTP(s) settings for the module instance. +<2> Specify the type of authentication we'll be using (HTTP basic auth). +<3> Username to submit for HTTP Basic Auth. Will be expanded. +<4> Password to submit for HTTP Basic Auth. Will be expanded. +<5> The HTTP 'verb' to use. +<6> HTTP(s) settings for the module instance. include::howto:partial$post_test.adoc[]