You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the issue has not already been raised
Issue
Hello, I was using fastify-jwt to implement a authorization strategy with accessToken and refreshToken using the namespace feature.
But when I had to use the functionality of fastify.jwt instead of the default function <namespace>JwtVerify or <namespace>JwtSign defined in the documentation, there wasn't any information about the changes that are applied to fastify.jwt when you use namespaces.
The text was updated successfully, but these errors were encountered:
I suppose it would be good to know about how to use .jwtVerify() with namespaces, because all of the .{namespace}JwtVerify functions require token: string, contrary to the default function (They are bound to FastifyInstance, instead of FastifyRequest, as well). It is also unclear on how to use it with cookies, for example.
I can set up a new Issue if this is not an intended behavior.
Prerequisites
Issue
Hello, I was using fastify-jwt to implement a authorization strategy with accessToken and refreshToken using the namespace feature.
But when I had to use the functionality of
fastify.jwt
instead of the default function<namespace>JwtVerify
or<namespace>JwtSign
defined in the documentation, there wasn't any information about the changes that are applied tofastify.jwt
when you use namespaces.The text was updated successfully, but these errors were encountered: