# `requiresLogin` This configuration option makes all your content private. Only authenticated users, who are verified through either Redocly or an identity provider (IdP) you [added in Reunite](/docs/realm/reunite/organization/sso/add-idp) can access your project. The **requiresLogin** option cannot be used in conjunction with the **rbac**. These configurations are mutually exclusive. ## Examples Below is an example of how to protect your entire project by requiring login: ```yaml redocly.yaml requiresLogin: true ``` ## Resources - **[RBAC configuration](/docs/realm/config/rbac)** - Complete options for configuring role-based access control as an alternative to requiresLogin for granular permissions - **[SSO configuration](/docs/realm/config/sso)** - Discover options for configuring single sign-on to work with requiresLogin for streamlined user authentication