# ConnectionRequest config issue (config/auth.js)

**URL:** <https://forum.genieacs.com/t/connectionrequest-config-issue-config-auth-js/910>\
**Category:** Uncategorized\
**Created:** [July 22, 2020, 6:41pm UTC](https://forum.genieacs.com/t/connectionrequest-config-issue-config-auth-js/910 "2020-07-22T18:41:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdavidcn](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/fdavidcn/32/594_2.png) [@fdavidcn](https://forum.genieacs.com/u/fdavidcn)\
**Post date:** [July 22, 2020, 6:41pm UTC](https://forum.genieacs.com/t/connectionrequest-config-issue-config-auth-js/910/1 "2020-07-22T18:41:58Z")

</div>

Hi guys,

Im trying to config request connection authentication in genieacs 1.1.3 installation with the following code in ‘\<genieacs\_path\>/config/auth.js’:

“use strict”;  
function connectionRequest(deviceId, url, username, password, callback) {  
return callback(“cpe\_user”, “cpe\_pass”);  
}  
exports.connectionRequest = connectionRequest;

I have already restarted services, without success.

When i try to refresh values from GUI, i get this error:

“Incorrect connection request credentials”

I was take a traffic capture with wireshark and i can see that username is sended by ACS.

I have checked also in CPE that credentials are the same.

What can be the problem?

Regards!
