Set sp_auth_credentials rather than entire service_proxy_auth URL.
authorMike Taylor <mike@indexdata.com>
Fri, 9 Jan 2015 10:28:45 +0000 (10:28 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 9 Jan 2015 10:28:45 +0000 (10:28 +0000)
(Of course, the widget code shouldn't be doing this at all!)

examples/htdocs/mkws-widget-ru.js

index 20762f7..b2ee812 100644 (file)
@@ -1,6 +1,4 @@
-var mkws_config = {
-   service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"
-};
+var mkws_config = { sp_auth_credentials: "paratext/paratext_mkc" };
 
 mkws.registerWidgetType('reference-universe', function() {
   if (!this.config.perpage) this.config.perpage = 5;
 
 mkws.registerWidgetType('reference-universe', function() {
   if (!this.config.perpage) this.config.perpage = 5;