Skip to content

Commit

Permalink
update callback
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioLangaritaBenitez committed Oct 22, 2024
1 parent 8eb1fad commit 8979597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8979597

Please sign in to comment.