What is OAuth 2.0?

Okay, you might not know what OAuth 2.0 is, but you surely have used it on several websites. Nowadays, many websites allow you to log in through your username and password with either Facebook, Twitter, or Google accounts. Land on your favorite website, for example, the www.stackoverflow.com login page. There is a login button that says you can sign in with your Google account, for example. When you click on the Google button, it takes you to Google's login page along with some permissions mentioned. Here you provide your Google username and password and click on the Allow button to grant permissions to your favorite site. Then Google redirects you to Stack Overflow and you are logged in with appropriate permissions in ...

Get Building Microservices with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.