Build the future of communications.
Start building for free

Authentication posts

  • By Kelley Robinson
    Add smooth, secure, and silent device authorization with Twilio Verify and React Native Add smooth, secure and silent authorization

    What if you could provide ongoing authentication for your users without requiring a password or sending them a one-time passcode? With Twilio's Verify Push API, you can!

    The Verify Push API is powerful beyond just the push notification part of it. The API uses public key cryptography to turn any device into a secure key. This allows your application to register trusted devices and use them as strong authenticators. When the authentication is done on the registered device, everything can happen silently in the background without any user involvement. This lowers friction, increases usability, and still provides strong security.

    Here's the flow you’ll be building in this tutorial:

    1. User is registered/authenticated (using SMS verification in our example, but could be username/password)
    2. Device is registered as a secure key ("Factor")
    3. User attempts to login
    4. Application silently authenticates user ("Challenge")

    This tutorial does not cover the Push Notification component, though you can …

    Read More
  • By Kenneth Ekandem
    How to Use Multiple Authentication Providers in Lumen How to Use Multiple Authentication Providers in Lumen

    As we all know, authentication is a very important aspect of building an application because you want to ensure that users can only access routes and information that they're allowed to.

    Authentication takes many forms and a common one is tokenization which we will be focusing on in this tutorial.

    Tokenization replaces a sensitive data element, for example, user information such as user id's, names, and emails, with a non-sensitive substitute, known as a token.

    But how will issuing tokens be beneficial to multiple authentications? Well, since every user has a unique token, and they can be stored in separate database tables, the token can be queried across these tables to find a match, and based on which return a true, the route can be limited or opened for the user.

    In this tutorial, you will learn how to use multiple authentication providers in Lumen to limit access to routes, …

    Read More
  • By Twilio
    What Is Mobile Authentication? Mobile Authentication.png

    Today, mobile phones can pretty much do anything that was once traditionally done on a computer. Online shopping, paying bills, checking bank accounts, you name it. Both consumers and employers tend to use personal mobile devices in the office and on the go, so securing those devices from potential hackers is a crucial step to implement in your routine.

    Mobile authentication is the verification of a user’s identity through the use of a mobile device and one or more authentication methods to ensure secure access. If you want to keep your online accounts safe, enabling mobile authentication across your devices is the single most important step you can take. While no security measure is fully hack proof, there are steps to lock access to your important accounts and information.

    How to implement mobile authentication

    As more and more companies and private users see an increase in security breaches due to …

    Read More
  • By Diane Phan
    How to Allow Users to Upload Media Files to the Cloud How to Allow Users to Upload Media Files to the Cloud

    There are many factors to consider when building a public-facing website. For example, a developer would need to consider what is necessary to protect not only the users but also the project. They would need to figure out how to securely store the data - especially if the project consists of sensitive information.

    In this tutorial, you will learn how to develop a functional website to authenticate your users and protect their identity before allowing them to upload an image file to your cloud storage. After authenticating the users, the project can give users the option to upload an image file through the site and store the files in a cloud.

    The application will use two key technologies:

    Read More
  • By Luís Leão
    Autenticação por SMS sem senha usando Xamarin Autenticação por SMS sem senha usando Xamarin

    Temos que admitir: as senhas são um fardo. Se uma senha é fácil o suficiente para ser lembrada, provavelmente não é segura. Isso nos leva a usar aplicativos como o 1Password para gerenciar nossas senhas mais seguras. Não é o ideal, mas funciona. Funciona bem, até os grandes sites terem seus bancos de dados invadidos. É provável que alguém já tenha visto uma de suas senhas preferidas. Se você não acredita em mim, dê só uma olhada em haveibeenpwned.com. Se você está fora de perigo, tem muita sorte. Como solução de segurança, as senhas por si só são falhas. Precisamos mesmo delas?

    Recentemente, Ricky Robinett escreveu um post no blog detalhando como criar uma solução de autenticação sem senha usando PHP com Laravel. Ele se inspirou na implementação do app Cover para essa ideia e se ver livre das senhas. Neste post, vamos criar um front-end móvel …

    Read More
  • By Oluyemi Olususi
    Authenticate Yii2 Users Using Twilio Verify Authenticate Yii2 Users Using Twilio Verify

    Registering users in your application is relatively easy enough. Ensuring that they provide valid phone numbers, however, can be a very difficult task.

    Twilio's Verify API guarantees that your application’s database only contains users with verified phone numbers. So In this tutorial, I will show you how you can seamlessly capture and confirm user phone numbers during registration in a Yii2 application, by leveraging Twilio Verify.

    Prerequisite

    To get the most out of this tutorial, you will need the following:

    • A basic understanding of PHP and version 2 of the Yii framework
    • Composer globally installed on your computer
    • A local MySQL database instance
    • A Twilio account

    Application Flow

    During this tutorial, we will build a basic application using the Yii2 framework. It will support the ability to register users, and for users to login and view a simplistic user dashboard. During registration, a unique code will be sent to …

    Read More
  • By Niels Swimberghe
    Better Twilio Authentication with API Keys Better Twilio Authentication with API Keys

    Twilio generates an Account String Identifier (SID) and an Auth token when you create a Twilio account. With these credentials, you can perform all functions available in the Twilio API.

    Anytime you hand over the Account SID and Auth Token to a device or a colleague, you increase the risk of those credentials becoming compromised. Luckily, Twilio provides capabilities to minimize this risk. This article covers:

    • Auth Tokens
    • Subaccounts
    • API Keys

    Auth Tokens

    When you create a new account or subaccount, Twilio generates an Account SID and Auth Token for that account. You can find these credentials on the dashboard page of your account:

    Twilio account dashboard with the Account SID and the Auth Token is pointed out by arrows.

    These credentials are frequently used to communicate with Twilio via the CLI, SDK's, or using the API directly. There is only one Auth Token by default, so you should avoid sharing this Auth Token to minimize the risk of it becoming compromised. If the Auth …

    Read More
  • By Anumadu Udodiri Moses
    Authenticate Laravel Users Using JWTs and Twilio's WhatsApp Business API Authenticate Laravel Users Using JWTs and Twilio's WhatsApp Business API

    Web applications need a way of identifying users in order to serve dynamic data back to users. The process of collecting and storing data when a user registers, validating the data and recognizing a unique user when the user logs in is the authentication flow.

    As mankind continues to evolve, cybercrimes continue to increase by the day. The security of user’s data and their privacy becomes more important than ever. In the quest to achieve this, security measures such as the popular 2-step verification (2FA verification) are put in place.

    Implementing 2FA (Two-Factor Authentication) verification in modern web applications can be tricky. Nonetheless, do not worry as the Twilio API for WhatsApp has plenty of documentation and support to make this possible for developers.

    This tutorial is intended to teach you about the Twilio API for WhatsApp and custom token-based authentication in Laravel using JSON Web Tokens (JWTs). …

    Read More
  • By Diane Phan
    Build a Site with Flask and Twilio Verify for Users to Upload a File header - Build a Flask Site that Allows Authenticated Users to Upload a File

    When it comes to building a website that allows users to upload files and provide their own input, you need to consider what is necessary to protect not only your users, but your project as well.

    This application incorporates Twilio Verify to generate one-time passcodes for your user to verify their identity and access your app. Verify provides an easy to use form of authentication with passcodes delivered to the user's mobile phone. For even more security, consider implementing two-factor authentication.

    After authenticating the users, you can give them the option to upload an image file through your site and store the files in your project directory.

    In this article, you will learn how to develop a functional website to authenticate your users and protect their identity before allowing them to upload an image file to your directory.

    Tutorial requirements

    • Python 3.6 or newer. If your operating system does not …
    Read More
  • By Kelley Robinson
    How to add customer authentication to Twilio Flex customer authentication in flex header

    Call center security is a known weak spot for many companies. That's because most call centers only identify and do not actually authenticate users when they call.

    Identity information is usually static data like a phone number or date of birth -- things that a lot of people know about me and you. Identity information is often easy to find or purchase and probably doesn't change. With a little bit of research, hackers can use social engineering to bypass common knowledge-based "verification" based on a user's identity. Authentication is how to prove identity with a factor that could be something you know like a password, something you have like a key, or something you are like a fingerprint.

    Options for actually authenticating users contacting your support system include sending one-time passcodes (OTPs) to a user via SMS or email, callbacks, security PINs, verbal passcodes, voice recognition, and more. For more …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.