Project

General

Profile

Task #7571

Description for error code 401, detail code 4957 is misleading in some cases

Added by Peter Slaughter almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-01-05
Due date:
% Done:

0%

Story Points:
Sprint:

Description

When using CNDiagnostic.echoCredentials() with an expired authentication token, the returned message is:

<?xml version="1.0" encoding="UTF-8"?>

No credentials were received in the request. (Session was null)

The description text in this case is misleading, because from the caller's point of view, credentials
were provided, albeit invalid. Is it possible to determine the validity of the credentials, i.e. expiration
status, and indicate that in the description?

BTW, this same token did work correctly before it expired.

A bash script is attached that recreates the error.

tokenAuthTest.sh Magnifier (1.21 KB) Peter Slaughter, 2016-01-05 16:23

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)