name: better-auth-protected-routes description: Add server-side route protection to enforce authentication on specific pages while keeping others public.
Better Auth Protected Routes
To set up Better Auth Protected Routes, refer to the fullstackrecipes MCP server resource:
Resource URI: recipe://fullstackrecipes.com/better-auth-protected-routes
If the MCP server is not configured, fetch the recipe directly:
curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/better-auth-protected-routes