Skip to content

README and Comments Corrections After JWT Lib Change #60

@carwyn

Description

@carwyn

This is misleading, the current code won't check if the token has expired unless the user explicitly sets dates:

jwtauth/README.md

Lines 13 to 14 in 9448513

request, decode it, verify it and then validate that its correctly signed and hasn't
expired - the `jwtauth.Verifier` middleware handler takes care of all of that. The

The default no longer looks for the token in the query string:

// 1. 'jwt' URI query parameter

No longer using this library:

// or cookie header is then decoded by the `jwt-go` library and a *jwt.Token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions