OAuth is an open standard for delegated authorization. It lets a user give an app limited access to their data on another service, such as their Google Calendar, without sharing their password, using scoped tokens that can expire or be revoked.
Diagram
Step 3, in green, is the point: your password goes only to the provider, never to the app. The app gets a token limited to what you approved, which you can revoke at any time without changing your password.