mirror of
https://github.com/tale/headplane.git
synced 2026-08-23 02:59:03 +00:00
feat: support oidc picture if available
This commit is contained in:
@@ -130,6 +130,7 @@ export async function finishAuthFlow(oidc: OidcConfig, options: FlowOptions) {
|
||||
name: getName(user, claims),
|
||||
email: user.email ?? claims.email?.toString(),
|
||||
username: user.preferred_username ?? claims.preferred_username?.toString(),
|
||||
picture: user.picture,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user