Skip to content

hapi-auth-jwt #7

@ghost

Description

Hello @sibartlett

I'm trying to authenticate via hapi-auth-jwt2 strategy, with no success. By now, to authenticate connections I'm telling hapi-auth-jwt2 where to find the token :

dwyl/hapi-auth-jwt2#57

But I feel that this could be quite redundant, because hapi.io could handle it... I'm completely missing the way to accomplish this...

`var socket = io('', {query : "Authorization=" + token});
// Authorization to make it consistent with hapi-auth-jwt2

Thank you!

EDIT:

O.K. I think that I've had a wrong presumption... that hapi-io could place authorization query on request's header...

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