Moreover, OAuth is the foundation for the single sign-on protocol OpenID Connect. OpenID Connect builds upon OAuth and provides clearly defined interfaces for user authentication and additional (optional) features, such as dynamic identity provider discovery and relying party registration, signing and encryption of messages, and logout.