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
  • 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+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. You

Feature overview