Skip to content

JWT Authentication #2

@transtone

Description

@transtone

my env: win10/amd64/go-1.6
when use

# Valid token
$  curl localhost:1323/restricted -H "Authorization: Bearer <token>" 

it gets not "Access granted with JWT" but nothing.

it seems func restricted(){...} not executed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions