I have a routing pattern I want to achieve, but unable to do so. please help me.
I want to stack all the "public routes->authentication->secured routes".
A typical route can be
public endpoint of the route: "get /my-route"
secure endpoint of the route: "post /my-route"
There are many such routes.
At present, I need to add authentication { } to every route.
Any idea how to