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 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:
redocly.yaml
requiresLogin: true
Related options
- View all the options available for configuring RBAC in the rbac reference documentation.
- Discover the options available for configuring SSO in the sso reference documentation.