diff --git a/src/oidcserver.js b/src/oidcserver.js index f782c1085..3c4fc5310 100644 --- a/src/oidcserver.js +++ b/src/oidcserver.js @@ -506,7 +506,7 @@ async function getClaims(username/*, use, scope*/) { given_name: firstName, locale: 'en-US', name: user.displayName, - picture: `https://${dashboardFqdn}/api/v1/profile/avatar/${user.id}.png`, // some apps get surprised if we respond with a svg + picture: `https://${dashboardFqdn}/api/v1/profile/avatar/${user.id}`, // we always store as png preferred_username: user.username, groups: allGroups.filter(function (g) { return g.userIds.indexOf(user.id) !== -1; }).map(function (g) { return `${g.name}`; }) };