miro-security-basics

Featured

Apply Miro REST API v2 security best practices — OAuth scope minimization, token storage, webhook signature validation, and secret rotation. Trigger with phrases like "miro security", "miro secrets", "secure miro", "miro token security", "miro webhook signature".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Miro Security Basics ## Overview Security best practices for Miro OAuth 2.0 tokens, webhook signatures, and access control across the REST API v2. ## Prerequisites - Miro app created at https://developers.miro.com - Understanding of OAuth 2.0 concepts - Secret management solution for production ## OAuth Token Security ### Never Store Tokens in Code ```bash # .env (NEVER commit to git) MIRO_CLIENT_ID=3458764500000001 MIRO_CLIENT_SECRET=your_client_secret_here MIRO_ACCESS_TOKEN=eyJ... MIRO_REFRESH_TOKEN=eyJ... # .gitignore — MUST include these .env .env.local .env.*.local *.pem ``` ### Scope Minimization Request only the scopes your app actually needs. Fewer scopes = smaller blast radius if a token is compromised. | Use Case | Minimum Scopes | |----------|---------------| | Read-only dashboard | `boards:read` | | Board automation | `boards:read`, `boards:write` | | Team management | `boards:read`, `team:read`, `team:write` | | Enterprise admin | `boards:read`, `organizations:read`, `auditlogs:read` | | Full integration | `boards:read`, `boards:write`, `identity:read` | ### Token Lifecycle Management ```typescript // src/miro/token-manager.ts interface TokenInfo { accessToken: string; refreshToken: string; expiresAt: number; // Unix timestamp in ms scopes: string[]; } class MiroTokenManager { constructor( private storage: TokenStorage, // DB, Redis, or Vault private clientId: string, private clientSecret: string, ) {} async getValid...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category