fix picture link

This commit is contained in:
2026-04-17 19:23:43 +01:00
parent 781c266758
commit 532458ecfa
+1 -1
View File
@@ -31,7 +31,7 @@ export class KeycloakStrategy extends PassportStrategy(Strategy, "keycloak") {
name: payload.name,
// Google profile image is usually in 'picture'
email_verified: payload.email_verified,
picture: payload.picture || `https://profiles.google.com/s2/photos/profile/${payload.email}`,
picture: payload.picture,
roles: payload.realm_access?.roles || [],
// Keep raw for debugging other custom claims
raw: payload,