Authentication Token for Get User Object

I wanted to saved the user’s “name” and “twitch ID” to a database as a list to iterate through. I did not want members to type in their names in case they mistype, typed someone else’s name, or flood the database with names. So I wanted to use the authentication token to get the user object to get the person’s name and twitch id to avoid duplicates, using someone else’s name, or a simple mistype. All they would have to do is authorize, and I can get the information to store in a database, and show it on a page which members have signed up for our team. Then all the bells and whistles after that. I would use the user by ID API, but sometimes you can’t trust the other person to submit the correct information and matches my website’s user ID (my website allows them to create an account), and I use your “user object” and append with their user ID on the website so nothing was typed, or counterfeiting someone else’s twitch account. This way, if your system allows them to log in, it must really be them…

Thanks for the example Dallas!