From: Mike Taylor Date: Wed, 29 Oct 2014 10:50:46 +0000 (+0000) Subject: Get rid of horrible old crud about setting username/password by X-Git-Tag: 1.0.0~75^2~9 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=39089b1aed45657df6653db00e1bc5ee1d6a46f4;p=mkws-moved-to-github.git Get rid of horrible old crud about setting username/password by changing SP authentication URL. Ugh. We used to live in some terrible times. --- diff --git a/doc/mkws-manual.markdown b/doc/mkws-manual.markdown index 63e0662..4a17798 100644 --- a/doc/mkws-manual.markdown +++ b/doc/mkws-manual.markdown @@ -559,13 +559,11 @@ its own User Access record. When credential-based authentication is in use (username and password), it's necessary to pass these credentials into the Service -Proxy when establishing the session. This can most simply be done just -by setting the `service_proxy_auth` configuration item to a URL such as -`//sp-mkws.indexdata.com/service-proxy/?command=auth&action=perconfig&username=mike&password=swordfish` +Proxy when establishing the session. This is done +by setting the `sp_auth_credentials` configuration item to a string +containing the username, a slash, and the password: -> TODO It should be possible to add the username and password to the -> configuration without needing to repeat the rest of the URL: see -> **MKWS-254**. + mkws_config = { sp_auth_credentials: "mike/swordfish" }; ### (Optional): conceal credentials from HTML source