I'm developing web app with Laravel stack on back server and NuxtJS on front server. I already use Socialite with socialiteprovider/twitch
to sign user in stateless and all works fine.
Now the problem is, I need to upgrade the user's scopes when he push a button on front. When he is authenticated, I have to store oauth_token
and refresh_token
in database to make Twitch API's call later, but I don't know how to do that...
Which process i should use ?
Thanks for your help