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...
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...