edge-function-with-auth
CommunitySecurely execute edge functions with authentication and permission checks.
Authorbuitrankimlong
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies the creation and deployment of secure edge functions that require user authentication and permission checks, ensuring sensitive operations are protected.
Core Features & Use Cases
- JWT Verification: Inline JWT decoding to avoid roundtrip authentication issues.
- Permission Checks: Implementing 'has_permission' RPC gate for role-based access control.
- Dual Authentication: Service-role bypass for cron/triggers and admin user JWT for flexibility.
- Rate Limiting: Prevents abuse and ensures function availability.
- Frontend Helper: 'invokeFunction' helper for easy function invocation from the frontend.
- Use Case: Use this Skill to create secure edge functions like email senders, PDF generators, or external API callers that require authentication and permission checks.
Quick Start
Use the edge-function-with-auth skill to execute a secure, JWT-verified operation with permission checks on your edge function.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: edge-function-with-auth Download link: https://github.com/buitrankimlong/thongtincty/archive/main.zip#edge-function-with-auth Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.