OAuth is a software framework created to allow a website or application to access resources hosted by other website or application or apps on behalf of a user without sharing the passwords.
OAuth or the Open Authorisation (Open Authorization), is a widely adopted authorisation framework that allows you to consent to an application interacting with another on your behalf without having to reveal your password. It does this by providing access tokens to third-party services without exposing user credentials.