Works with the AI tools you already use
Nex Discord Oauth pi
by Nex AI
Production-ready Discord Embedded App SDK OAuth handshake for Node/Python backends and TypeScript frontends.
Secure checkout via Stripe
See it in action
You say
Add Discord OAuth to my Express app and TypeScript frontend. I need the identify and guilds scopes.
Your agent does
I've generated the DiscordAuth class (client side) and the /api/token Express route (server side).
Key steps:
- Use client/discord-auth.ts to manage the handshake.
- Mount the server/api-token.ts handler at app.post('/api/token').
- Set your DISCORD_CLIENT_SECRET in your server .env.
What you get
About this skill
What it does
This skill provides a battle-tested, drop-in OAuth2 implementation for Discord Embedded App SDK activities. It automates the complex three-step handshake required to get an authenticated user session inside a Discord iframe: authorization, server-side token exchange, and SDK authentication.
Why use this skill
Implementing Discord OAuth manually is error-prone. Common pitfalls include sending JSON instead of form-encoded data to Discord's token endpoint or accidentally exposing client secrets in the frontend. This skill provides field-verified code that keeps secrets on the server, handles the specific Content-Type requirements of Discord's API, and includes a "Dev Mode" fallback so you can build your UI in a browser without needing to launch Discord every time.
Supported tools
- Frontend: TypeScript/JavaScript with Discord Embedded App SDK
- Backend: Node.js (Express/Fastify) or Python (FastAPI)
- Bundlers: Optimized for Vite (VITE_ prefixing) but adaptable to others
The Output
You receive a dedicated DiscordAuth client class and a corresponding server-side route handler. The client class manages the internal SDK state, while the server route handles the secure communication with Discord. It also includes an .env.example with the exact keys required to make the handshake work.
Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 9 days ago
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
Founder of Nex AI. I build production-grade Claude Skills from systems that actually run: multi-tenant SaaS, Telegram agents, Raspberry Pi infrastructure, 3D multiplayer rooms. Every skill ships battle-tested patterns, not theory. 33+ open source skills published, commercial catalog growing.
Frequently Asked Questions
Popular in API Development

x402-api-paywall
Add stablecoin micropayment paywalls to FastAPI and Express routes using the HTTP 402 standard.

Transactional Email Engine
Scaffold a complete, production-ready transactional email system — verification, password reset, receipts, and notifications — with deliverability hardening, retries, idempotency, and a suppression list.
stripe-subscription-engine
Complete Next.js & Stripe billing engine with per-seat proration, secure webhooks, and multi-tenant member management.
Python Development Engine
Python project routing for Web API/crawler/automation/data/CLI. FastAPI/Django/Flask selection, async patterns, deployment strategies.