genieacs auth.js
13122231591 at 163.com
13122231591 at 163.com
Mon Jun 3 05:25:49 EDT 2019
Hi,
I have a problem with config/auth.js,
"use strict";
function connectionRequest(deviceId, url, username, password, callback) {
return callback(username || deviceId, password || "");
}
exports.connectionRequest = connectionRequest;
When I use this config, use ACS tocontrol CPE,it return 401 auth,
but when I change config/auth.js to
"use strict";
function connectionRequest(deviceId, url, username, password, callback) {
return callback('someUsername', 'somePassword');
}
exports.connectionRequest = connectionRequest;
It work fine.
I think it maybe influence by
InternetGatewayDevice.ManagementServer.ConnectionRequestUsername
InternetGatewayDevice.ManagementServer.ConnectionRequestPassword
I want to know how to use Above auth.js configuration?
thanks
13122231591 at 163.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190603/7fe6ca1f/attachment.html>
More information about the Users
mailing list