When I read and watch videos on Oath it talks more about being able to access data from other applications. However, a common usage of what I think is OAuth is simply identifying a user without requiring them to have a id/pw for a site. I don't see that explained very often though. What is the concept behind that process?
Say there is a forum website that lets you sign in via your google account. All it gets is your first and last name and you never have to create a pw for that site specifically because they go through the google OAuth process to ID you. How does that process work? Is that site storing some token on their db? Is that token specific to the user and your site and never changes so that each time they login via google to your site you can just validate the stored token in your sites DB vs the one google gave them?
I don't see that explained very often though. What is the concept behind that process?
Ask for a ID token to the 3rd party service, so that your application can assert that you are who you are saying to be, just by sending the same ID Token to the 3rd party service an ask for confirmation.I mean my site is just getting back a token right?
Right, the one the 3rd party gave to your client.What constitutes validating the token?
send it back to the 3rd party service (who generate it) from your site (usually the server-side).Is that token always the same for that person
They also expire. Some OAuth servers also give you back a refresh token.I would have gotten the token on registration for this use and I stored it along with their name in my user's table?
You could, that's fairly common.