Authentication
Introduction
ROQ provides a complete and secure authentication and user management solution for your generated application. In case you are running an application, then check out our integration guide how to use it.
Key Features:
- Customizable user login and registration
- Full multi-tenancy support (e.g., creation of new organizations during signup)
- Secure session handling for your application
- Social sign-in with Google, Github, or Facebook
- Multi-factor Authentication (MFA)
- User invites
- 360-degree view of all user data
How It Works
ROQ's login and session management are based on the OAuth protocol (opens in a new tab). Here is how it works:
- The user clicks the Login button or is redirected to a login page provided by ROQ.
- ROQ prompts the user to log in using username and password or social sign-ins (e.g. Google) and then sends a special token back indicating that the user has granted permission to access your web application.
- Using the
requireAuth
wrapper, you can easily define which pages are only accessible to authenticated users.
Feature Overview
- Customize the managed login and registration pages
- Using custom domains for the managed login and registration pages
- Add login and register buttons on your page
- Activate social sign-in providers like Google
- Multi-factor Authentication (MFA)
Tutorials
The authentication tutorials section provide you with a hands-on to understanding and integrating various ROQ authentication features into your application.