Skip to content

Add 'AuthenticationError' type definition for passport errors #16

Description

@shakedmanes

The situation

Currently, in the error.handler file, we checks if the error type of AuthenticationErrror by its name and not by its type (instanceof).

Todo:

For making the code more beauty and generic, we need to create type definition for the AuthenticationError error defined in passport/lib/errors/authenticationerror.js

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions