feat: 添加JWKS token支持,更新用户和OAuth相关逻辑

This commit is contained in:
2026-02-21 06:29:11 +08:00
parent 672208ab6b
commit 71c238f953
6 changed files with 120 additions and 33 deletions

View File

@@ -119,9 +119,7 @@ app
const token = JSON.parse(data);
if (token.accessToken) {
ctx.body = token;
createCookie({
token: token.accessToken,
}, ctx);
createCookie(token, ctx);
} else {
ctx.throw(500, 'Checked error Failed, login failed, please login again');
}