feat: 添加JWKS管理功能,支持基于用户token创建新token
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { router } from '@/app.ts'
|
||||
import { manager } from '@/modules/jwks/index.ts'
|
||||
import { manager } from '@/auth/models/jwks-manager.ts'
|
||||
router.all('/api/convex/jwks.json', async (req, res) => {
|
||||
const jwks = await manager.getJWKS()
|
||||
res.setHeader('Content-Type', 'application/json');
|
||||
|
||||
Reference in New Issue
Block a user