how can i keep token stored, so i don't have to do redirect each time to authenticate request?
Right now i have routes /twitch and /twitch/redirect i have to head to 2nd route first so it gets the code and then redirects to /twitch, otherwise if i access /twitch w/o redirecting, it throws exception that it need to be authenticated (probably because of missing token)
how can i keep token stored, so i don't have to do redirect each time to authenticate request?
Right now i have routes
/twitch
and/twitch/redirect
i have to head to 2nd route first so it gets the code and then redirects to/twitch
, otherwise if i access/twitch
w/o redirecting, it throws exception that it need to be authenticated (probably because of missing token)