Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free

Authentication posts

  • 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 Twilio API Keys Better Twilio Authentication in C# with Twilio API Keys.png

    Twilio generates an Account String Identifier (SID) and an Auth token when you create a Twilio account. This key is for all intents and purposes a master key that can be used to perform any function 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 that master key becoming compromised. Luckily Twilio provides capabilities to minimize this risk. This article covers:

    • API Credentials
    • Subaccounts
    • API Keys

    In short, this tutorial will help you to stop giving away your Twilio Master Key and start using API Keys.

    API Credentials

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

    Screenshot of Twilio's account dashboard where the account SID and the auth token is pointed out by arrows.

    These credentials are frequently used to communicate with Twilio via the CLI, …

    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
  • By Kelley Robinson
    Secure your video conference with one-time passcodes How to protect your video conference with one-time passcodes

    As we dutifully practice social distancing, live video conferencing is increasingly popular. From company meetings to yoga classes and magic shows, traditional in person events are going virtual. But while technology connects us, it also comes with privacy and security risks.

    This post will show you how to add one-time passcode authentication on top of your Twilio Video application to ensure that only registered users are able to access the conference.

    While passwords may help protect against war dialing, they don't guarantee that the people joining the video conference should be allowed to participate. A lot of people are still widely sharing Zoom meeting IDs and passwords.

    One-time passcode authentication is useful for gating:

    • Paid content like workout classes, political fundraisers, or live dating shows.
    • Sensitive content with an access control list (ACL)

    This tutorial will walk you through adding Twilio Verify SMS verification to …

    Read More
  • By Kelley Robinson
    Why are the username and password on two different pages? Why are the username and password on two different pages

    The most common reason to put username and password on two different pages is to support both:

    1. single-sign on (SSO) (i.e. sign in with Google or a service like Okta)
    2. username/password login

    However, this login flow confuses people which is probably why you're reading this! Websites usually present a username and password field in the same view for us to log in. So you're not alone if you've ever wondered why the password field is missing or on another page.

    This post looks at the security of this design decision and presents options for designing login forms that support multiple paths of authentication.

    Is separating the username and password field onto different pages more secure?

    The separation could make credential stuffing attacks more cumbersome. It also allows the platform to perform conditional security checks. For example, the site can check if the account has enabled two-factor authentication and, if …

    Read More
  • By Simon Thorpe
    Improving user privacy for two-factor authentication Improving user privacy for two-factor authentication

    While it is generally agreed that two-factor authentication (2FA) is an increasingly important means of adding security to your user accounts, you’ve probably heard of stories where the phone number used to enable 2FA ended up part of a data breach or was misused by the website. This has led to an unwillingness with some people to provide their phone number.

    To address this, we updated Twilio’s Authy API to allow 2FA to be implemented on websites without having to collect the phone number from the user.

    Why Authy asks for the phone number

    Before we look at the new change, it’s worth understanding how Authy was designed to use your phone number. There are two elements to the Authy solution, the API which businesses use to integrate 2FA into their applications, and the Authy app which consumers use to generate 2FA codes. The phone number ties the two …

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