OpenID and OAuth are protocols for online identity and authorization. OpenID allows users to sign in to multiple websites using a single digital identity. It provides single sign-on capabilities. OAuth allows websites and applications to access protected resources from another service, without requiring users to share their passwords. It enables authorization for third party applications to access protected resources. Both protocols address common needs around user authentication and authorization on the web.