So I've told the user to click on my link and after going through the process it successfully gives me an access_code. So I go ahead and save it in my database for future use (Since these codes don't expire) along with the players_tsid.
[Now I assume my user has cleared all his cookies and whatnot before visiting my site again]
Now he signs into glitch.com and then proceeds to visit my website.
Now when he again clicks on the Sign-In button on my website it goes to the glitch and gets me another access_code (possibly the same one, I haven't checked).
At no point am I checking to see my own internal database to authenticate this user. How might I go about doing this? Can anyone link me to any documentation or something for this? I couldn't seem to find any.
There should basically be some response where it says "Now I'm going to trying to get the access code for player_tsid=BLAH" so I can check if the access_token in my own db before proceeding.
Posted 17 months ago by
Long Schlong

|
Permalink