mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Adds groups to example
This commit is contained in:
parent
05381c7da9
commit
d63dd87d54
2 changed files with 2 additions and 0 deletions
|
|
@ -14,4 +14,5 @@ EMAIL_PSW='vvml wmfr dkzb vjzb'
|
||||||
JWT_SECRET=TOKEN!
|
JWT_SECRET=TOKEN!
|
||||||
|
|
||||||
# Pour creer les liens images
|
# Pour creer les liens images
|
||||||
|
SESSION_Secret='session_secret'
|
||||||
FRONTEND_URL=http://localhost:5173
|
FRONTEND_URL=http://localhost:5173
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ class PassportOAuth {
|
||||||
id: userInfo.sub,
|
id: userInfo.sub,
|
||||||
email: userInfo.email,
|
email: userInfo.email,
|
||||||
name: userInfo.name,
|
name: userInfo.name,
|
||||||
|
groups: userInfo.groups ?? [],
|
||||||
accessToken: accessToken,
|
accessToken: accessToken,
|
||||||
refreshToken: refreshToken,
|
refreshToken: refreshToken,
|
||||||
expiresIn: params.expires_in
|
expiresIn: params.expires_in
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue