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
My understanding is this was an optional parameter. Since the JWT token during generation has the parameters already being passed, you don't have to repeat it here.
but inside the middleware, in the respond function exist this line _ = try req.jwt(verifyUsing: signer, and: self.claims) where self.claims is the parameter passed in the constructor... It's a little weird xD
Hi @anthonycastelli
Why the second parameter is an empty array instead some array of claims?:
Vapor-JWTAuthorization/Sources/App/Routes.swift
Line 22 in d67e9d0
The text was updated successfully, but these errors were encountered: