title: Optional authentication in Nest.js with @nestjs/passport
body: <p>I have a route that needs to be used by authenticated and unauthenticated users. I use <code>@UseGuards(AuthGuard('jwt'))</code> to enable authentication but it prevents any unauthenticated user to access the route (normal).</p>
  
  <p>How can I allow unauthenticated users to also access the route ?</p>
  
  <p>It seems that there's no options that I can pass to <code>AuthGuard</code> in order to retrieve them in my passport strategy.</p>