feat: add name and email to id token

This commit is contained in:
2023-05-02 12:12:43 +02:00
parent a465ae543a
commit bb8deb221e
+3
View File
@@ -114,6 +114,9 @@ app.post('/oauth/token', (req, res) => {
exp: date + 7200,
azp: session.clientId,
name: 'Example Person',
given_name: 'Example',
family_name: 'Person',
email: session.email,
picture:
'https://cdn.playbuzz.com/cdn/5458360f-32ea-460e-a707-1a2d26760558/70bda687-cb84-4756-8a44-8cf735ed87b3.jpg'
})