Skip to content

move authentication http middleware to go kit middleware  #44

@jcromanu

Description

@jcromanu

instead of calling an http handler , move the authentication to the go kit middleware implementation
add bearer token as part of all requests
decode bearer to value of request
wrap endpoint creation with wrap function
validate with claims with name instead of email , because it is easier test with just one token once users are created with single email

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions