mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
fix: diagnostic pp
This commit is contained in:
parent
6a809153f5
commit
a1ec2263a5
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ router.get(
|
|||
try {
|
||||
const userinfo = await client.fetchUserInfo(oidcConfig, tokens.access_token, claims.sub);
|
||||
picture = userinfo.picture || picture;
|
||||
console.log('[auth] userinfo claims received:', Object.keys(userinfo), '— picture:', userinfo.picture || '(none)');
|
||||
} catch (err) {
|
||||
console.warn('[auth] failed to fetch userinfo for avatar:', err.message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue