O
oauth-integrations
by @jezwebv1.0.0
0.0(0)
Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
安装方式
npx skills add jezweb/claude-skills --skill oauth-integrationscompare_arrows
Before / After 效果对比
1 组使用前
1手动实现 OAuth 认证流程,需要处理授权码交换、令牌刷新、状态管理等复杂逻辑,容易出错且存在安全风险。
2```javascript
3// 手动处理 OAuth 授权码交换
4app.get('/callback', async (req, res) => {
5 const code = req.query.code;
6 const response = await fetch('https://oauth.provider.com/token', {
7 method: 'POST',
8 headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
9 body: `grant_type=authorization_code&code=${code}&client_id=...&client_secret=...&redirect_uri=...`
10 });
11 const data = await response.json();
12 // 还需要处理 access_token, refresh_token, error 等
13});
14```使用后
1利用 OAuth 集成技能,通过预构建的模块或工具,简化 OAuth 认证流程的实现,提高开发效率和安全性。
2```javascript
3// 使用库或框架简化 OAuth 流程
4const { auth } = require('express-oauth2-jwt-bearer');
5const checkJwt = auth({
6 audience: 'your-api-audience',
7 issuerBaseURL: `https://your-domain.auth0.com/`,
8});
9app.get('/api/private', checkJwt, (req, res) => {
10 res.send('This is a private endpoint!');
11});
12```description SKILL.md
oauth-integrations
Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Tags: ai, anthropic, automation, claude-code, claude-skills, cloudflare, devtools, productivity, react, skills, tailwind, vite
Source: jezweb/claude-skills
Stars: 611
forum用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价,来写第一条吧
统计数据
安装量0
评分0.0 / 5.0
版本1.0.0
更新日期2026年3月17日
对比案例1 组
用户评分
0.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%
为此 Skill 评分
0.0
兼容平台
🔧Claude Code
时间线
创建2026年3月17日
最后更新2026年3月17日