mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
added groups in oidc response
This commit is contained in:
parent
0fe4dcacd5
commit
8d31bc8f8c
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ class PassportOpenIDConnect {
|
||||||
id: profile.id,
|
id: profile.id,
|
||||||
email: profile.emails[0].value,
|
email: profile.emails[0].value,
|
||||||
name: profile.name.givenName,
|
name: profile.name.givenName,
|
||||||
|
groups: profile.groups[0].value ?? []
|
||||||
};
|
};
|
||||||
return done(null, user);
|
return done(null, user);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue