Skip to main content

Username Login

Username authentication allows customers to register or log into your website or app without remembering their email addresses. Users can quickly access the platform by simply entering a Username and Password, offering a familiar, straightforward alternative to email-based login. This feature enhances the user experience by reducing cognitive load and providing a more direct path to access.

Configuration

Username Login allows users to authenticate using a unique username instead of an email address. Here's how to enable and configure it in your authentication settings:

By following the below steps, configure the Username Login.

  1. Navigate to the LoginRadius Admin console

  2. Go to the Authentication Configuration

  3. Under the Authentication Type section, locate the Username option and click on it. Next, you will be redirected to the Username Settings page.

  4. Ensure the toggle next to Username is set to Enabled. This allows you to customize login behavior for usernames.

Integration Guide

This guide provides a comprehensive walkthrough for integrating a secure and seamless username-password authentication system into your application using LoginRadius. It covers backend integration via SDKs and libraries, front-end customization through REST APIs, and post-login management to enhance the user experience.

Ensure a username is available before user registration to prevent duplication and streamline the onboarding process.

Integration via API

Auth Check UserName Availability Validate if a username is available using this API

Integration via JS SDK

Auth Login by Username availablity Validate if a username is available using the JS SDK.

You can use any SDKs provided by LoginRadius based on your requirements for SDK implementation. LoginRadius GitHub Repositories

Access tokens will be utilized for subsequent API requests to interact with authorized resources while maintaining the user’s authenticated session.

Customization Options

LoginRadius provides extensive customization options to meet your business requirements.

  • Enforce password policies, such as minimum and maximum length, inclusion of special characters, or adherence to specific formats.

  • Configure advanced rules to ensure enhanced security while maintaining user convenience.

  • Enhance your application's user experience with LoginRadius-provided JavaScript hooks. These hooks trigger real-time UI updates or specific actions during user interactions, such as progress indicators or error messages.

  • Utilize Hosted Pages for greater control and flexibility in designing login experiences to match your application’s look and feel.