Skip to main content

Email Login

Email Login is the default authentication method provided by LoginRadius, enabling users to log in securely using their email and password for authentication. This method is widely adopted for its simplicity, reliability, and versatility across different platforms. It also facilitates communication, password recovery, account verification, and enhanced security. It ensures secure user identification while offering flexibility in verification options.

This document explains how to enable and configure login using email and password in the LoginRadius Admin Console.

Key Features of Email Login

  1. Secure Authentication
    Provides a reliable and secure login method using email and password, ensuring verified user access to applications.

  2. Configurable Signup and Verification Flows
    Offers flexibility in configuring signup flows (mandatory or optional email) and email verification settings (mandatory, optional, or disabled), catering to diverse business needs.

  3. Email Verification Methods
    Supports multiple verification methods, including email verification codes and links, to confirm user identity efficiently.

  4. Customizable Email Delivery and Templates
    Allows businesses to customize email delivery settings using SMTP providers and personalize email templates for branding and user communication.

  5. Integration Options
    Seamless integration with LoginRadius APIs, SDKs, and JavaScript interfaces for user registration, email verification, and login processes across web and mobile platforms.

  6. Enhanced Communication and Recovery
    Facilitates account notifications, password recovery, and transactional communication via email, ensuring reliable user engagement.

Configuration

To ensure a seamless authentication experience, configuring the login options correctly is crucial. LoginRadius provides a flexible and secure way to manage authentication methods, including email-based login. This section will guide you through the steps to enable email login within the LoginRadius Admin Console.

Access the Admin Console

Enable Email Login

  • Toggle the Email option to enable login using email addresses.

Configure Signup Flow

Choose how email addresses are handled during user sign-up.

📌Note: This configuration requires at least one additional identifier (such as phone number or username) to be enabled.

  • Mandatory: Users must provide an email at sign-up.
  • Optional: Users can provide an email during sign-up, but another identifier must be used for account creation.

Additional Notes:

  • If email is set to optional, ensure another identifier (e.g., phone number, username) is required to prevent account creation issues.
  • If email is mandatory, users who do not wish to share an email cannot proceed with registration.
  • Consider your authentication and account recovery setup to avoid login or access issues when choosing this configuration.

Set Up Verification Flow

  • Select the desired email verification requirement:
    • Mandatory Verification: Users must verify their email before logging in.
    • Optional Verification: Users can log in without verifying their email.
    • Disabled Verification: No verification emails will be sent.

Choose Verification Methods

  • Pick the method of email verification:
    • Verification Code: Users receive a code via email to confirm their identity.
    • Verification Link: Users receive an email containing a link, which they click to verify their account.

Implementation Guide

This section offers a detailed walkthrough and recommendations for integrating Email registration and Email login into your back-end or front-end via Rest APIs or SDKs.

Users can create a new account in the LoginRadius database using APIs or SDKs. Choose the integration method that best fits your needs:

Integration via APIIntegration via SDKIntegration via JS Interface
Use User Registration By Email API to create the Account in the LoginRadius database. This API also sends a verification link to your email based on your email verification settings.You can use any SDKs provided by LoginRadius to create a new account based on your SDK implementation requirements. LoginRadius GitHub RepositoriesUtilize the JS SDK function to generate required HTML interfaces allowing users to register new accounts using email and password.

Best Practices

  • Enable Mandatory Verification for Sensitive Applications: Ensure email verification is required for high-security platforms like financial or healthcare services.
  • Customize User Interfaces: Use branding options to make email login forms user-friendly and align them with your brand.
  • Test Email Deliverability: Regularly verify that all email flows, including verification and password reset, function seamlessly.
  • Adapt to Regional Preferences: Make email optional in regions where phone numbers are the primary identifier.
  • Use Custom SMTP Providers: Improve deliverability and brand alignment by creating a custom email provider.