Back to skills
extension
Category: Development & EngineeringNo API key required

better-auth-protected-routes

Add server-side route protection to enforce authentication on specific pages while keeping others public.

personAuthor: jakexiaohubgithub

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