bknd-protect-endpoint

Enforce authentication and authorization checks on BKND API endpoints.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cameronapak/melos --skill bknd-protect-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bknd-protect-endpoint
Source: https://github.com/cameronapak/melos/tree/main/.agents/skills/bknd-protect-endpoint
Command: npx skills add https://github.com/cameronapak/melos --skill bknd-protect-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Secure BKND endpoints by enforcing authentication and authorization checks across HTTP triggers, plugin routes, and custom endpoints to prevent unauthorized access.

Core Features & Use Cases

  • Endpoint protection: enforce auth checks on HTTP triggers, plugin routes, and custom endpoints.
  • Role-based access: leverage Guard and user roles to restrict actions.
  • Flexible deployment: works in both code-mode and UI-mode configurations.

Quick Start

  1. Enable auth in your BKND project (auth: { enabled: true, guard: { enabled: true } }).
  2. Protect a flow or route by adding authentication tasks or per-route guards.
  3. Test unauthorized vs authorized access against a protected endpoint.

Frequently Asked Questions about bknd-protect-endpoint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does role-based access control work for BKND plugin routes?

Role-based access control in BKND is enforced by leveraging the built-in Guard feature alongside user roles to restrict specific actions. This ensures only authorized users can interact with protected routes and endpoints.

Can I use endpoint guards in both code-mode and UI-mode BKND configurations?

Before securing endpoints in a BKND project, you must enable auth and guard in your configuration settings with auth: { enabled: true, guard: { enabled: true } }. This establishes the foundation for endpoint protection.

What do I need to enable before securing endpoints in a BKND project?

Before securing endpoints in a BKND project, you must enable auth and guard in your configuration settings with auth: { enabled: true, guard: { enabled: true } }. This establishes the foundation for endpoint protection.

How does role-based access control work for BKND plugin routes?

To protect BKND API endpoints, you must enforce authentication and authorization checks across HTTP triggers, plugin routes, and custom endpoints. This prevents unauthorized access by requiring valid user credentials before processing requests.