diff --git a/public/callback.html b/public/callback.html index b46be01..8adcda9 100644 --- a/public/callback.html +++ b/public/callback.html @@ -75,6 +75,8 @@ }; const r = await fetch(`${userinfo_endpoint}`, options); const users = await r.json(); + console.log('users', users); + localStorage.setItem("session", JSON.stringify({ user: { 'access_token': tokens['access_token'], info:users, authenticated: true } })); axios({ method: 'get',