feat: 添加JWKS token支持,更新用户和OAuth相关逻辑
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user