Mahamed-Belkheir/qufl

Add option to allow unauthenticated users

Closed this issue · 0 comments

Sometimes we need a route that allows both authenticated and unauthenticated users into a route, while still verifying JWTs and providing them down the route path if available.

This is currently not possible, but I'll be adding an option to allow unauthenticated users in the auth middleware creating function to pass through.