When using the access token middleware, if i pass an invalid token (expired, for example, the token has expired), the token validation fails, but the middleware will still call the next component in the pipeline. Is this expected behaviour? Is there a way to prevent this?
When using the access token middleware, if i pass an invalid token (expired, for example, the token has expired), the token validation fails, but the middleware will still call the next component in the pipeline. Is this expected behaviour? Is there a way to prevent this?