Two authentication

Can I use two authentication methods on the same route, for example session and jwt?

For route:
.middleware([‘auth:jwt’])
.middleware([‘auth’])

Putting both in the same url / route is not indicated because one uses token bearer verification and the other per session.

1 Like