Authentication
Overview

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:

  1. The user clicks the Login button or is redirected to a login page provided by ROQ.
  2. 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.
  3. Using the requireAuth wrapper, you can easily define which pages are only accessible to authenticated users.

Feature Overview

Tutorials

The authentication tutorials section provide you with a hands-on to understanding and integrating various ROQ authentication features into your application.