chore: oidc自动注册时增加邮箱

This commit is contained in:
xiaojunnuo
2025-12-15 00:23:35 +08:00
parent cdab54bf51
commit 16f6365b18
2 changed files with 2 additions and 0 deletions
@@ -129,6 +129,7 @@ export class OidcOauthProvider extends BaseAddon implements IOauthProvider {
openId: claims.sub,
nickName: claims.nickname || claims.name || claims.username || claims.preferred_username || "",
avatar: claims.picture,
email: claims.email || "",
},
}
};