OAuth explained
OAuth is a technological standard that allows you to authorize one app or service to sign in to another without divulging private information, such as passwords. If you’ve ever received a message such as, “Sign in with Facebook?” or “Allow this application to access your account?” you’ve seen OAuth in action.
OAuth stands for Open Authorization—not authentication, as it’s sometimes assumed to be. Authentication is a process that verifies your identity. OAuth does involve your identity, but its purpose is to grant permission to seamlessly connect to you with different apps and services without requiring you to create a new account. OAuth provides that simplicity of experience by giving you the option to authorize two apps to share some of your data without revealing your credentials. It strikes a balance between convenience and security.
OAuth is designed to work with Hypertext Transfer Protocol (HTTP). It uses access tokens to prove your identity and allow it to interact with another service on your behalf. In the event that this second service suffers a data breach, your credentials on the first service will remain safe. OAuth is a widely adopted, open-standard protocol and most developers of websites and apps use it.
Importantly, OAuth does not grant a third-party app or service unlimited access to your data. Part of the protocol is specifying what data the third party is allowed to access and what it can do with that data. Setting such limitations, and protecting identities in general, are especially critical in business scenarios where many people have access to a wealth of sensitive and proprietary information.
Follow Microsoft Security