Skip to content

TJWT.IsValidToken does not return an error string on invalid signature #574

@DeddyH

Description

@DeddyH

My suggestion is to set the out-parameter "Error" to "Invalid token" at first. If all checks have been passed successfully, set it to an empty string. This would make the whole code shorter and cleaner due to only having 2 lines where this param is assigned a value.

Metadata

Metadata

Assignees

Labels

acceptedIssue has been accepted and inserted in a future milestoneenhancement

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions