Skip to content

Better error messages for missing authentication #238

@ghost

Description

If login is required, but the user is not logged in, the error messages are not good.

On Monitor:

11:21 AM Error loading botnet status: {"errors": {"Authentication Required": "Please provide valid Token verification credentials"}} Unauthorized

On configuration and management page, plus the same of monitor:

11:20 AM Get an error error, Unauthorized when trying to obtain config file properly
http://example.com/intelmq/v1/api/config?file=runtime
11:20 AM Error incomplete botnet: {"errors": {"Authentication Required": "Please provide valid Token verification credentials"}} Unauthorized

On check page: pop-up with error getting check command output
Ob about: pop-up with Error getting debugging information. Do you have IntelMQ >= 2.2.0?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions