It's all about the answers!

Ask a question

Authentification through Node.js api

Amadou Beye (111) | asked Dec 06 '18, 4:54 a.m.
edited Dec 06 '18, 5:01 a.m.

 I'm confuse about the response from authentification request because I'm getting statusCode=200 and statusMessage=OK but I can see 'x-com-ibm-team-repository-web-auth-msg':'authfailed'  from the headers.

Here is the headers:

date: 'Thu, 06 Dec 2018 09:45:57 GMT',
server: 'WebSphere Application Server/8.0',
'x-powered-by': 'Servlet/3.0',
'x-com-ibm-team-repository-web-auth-msg': 'authfailed',
'x-frame-options': 'SAMEORIGIN',
'content-type': 'text/html; charset=UTF-8',
'content-language': 'en-US',
expires: 'Thu, 01 Dec 1994 16:00:00 GMT',
'cache-control': 'no-cache="set-cookie,
set-cookie2"', vary: 'Accept-Encoding',
'set-cookie': [ 'x-com-ibm-team-scenario=eb6ade70-29fa-4de7-8c0c-5544a301f453%3Bname%3DInitial+Page+Load%3Bextras%3D%2Fccm%2Fauth%2Fauthfailed%2C1544089557648; Path=/' ],
via: '1.1',
'content-length': '1976',
connection: 'close'

Is this connexion OK or KO ?

One answer

permanent link
John Vasta (2.6k15) | answered Dec 06 '18, 3:33 p.m.

Your answer

Register or to post your answer.