GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • AuthKitComplete auth & user management platform
  • MCP AuthSecure auth for MCP servers
  • Multi-Factor AuthenticationAdvanced auth methods
  • auth.mdUser registration for agents
  • PipesIntegrations for your apps & agents
  • PassportOne sign-in for every app and agent
  • AtlasBuild and host secure internal apps with AI
  • AirlockIntent-Based Access Control
  • Docs
  • Customers
  • Changelog
  • Blog
  • Guides
  • Podcast

This view

  • Original page
  • New address

GeezerVison is showing workos.com — Multi-Factor Authentication — WorkOS

Your app. Your rules.
Secure by design.

Read the MFA Getting Started Guide

Multi-Factor Authentication

Your app’s architecture for advanced security

TOTP

Time-based One-Time Password supported

SMS

Phone number passcodes enabled

Frictionless integration. Compatible with your needs.

With a few API calls, you can integrate MFA into an existing application, regardless of the authentication layer or session management strategy.

Enroll, activate, and verify authentication factors

A composable, unopinionated set of endpoints that can be integrated into an existing application.

Read the docs
Get your API key
Node.jsRubyPythonGoPHPJava.NETcURL

// Register an additional factor of authentication
// such as Time-based One Time Password (TOTP)

import WorkOS from '@workos-inc/node';

const workos = new WorkOS('sk_example_123456');

await workos.mfa.enrollFactor({
  type: 'totp',
  issuer: 'Foo Corp',
  user: '[email protected]',
});



# Register an additional factor of authentication
# such as Time-based One Time Password (TOTP)

require 'workos'

WorkOS.key = 'sk_example_123456'

factor = WorkOS::MFA.enroll_factor(
  type: 'totp',
  totp_issuer: 'Foo Corp',
  totp_user: '[email protected]',
)



# Register an additional factor of authentication
# such as Time-based One Time Password (TOTP)

import workos
from workos import client

workos.api_key = 'sk_example_123456'
workos.client_id = 'client_123456789'

response = workos.client.mfa.enroll_factor(
  type='totp',
  totp_issuer='Foo Corp',
  totp_user='[email protected]'
)

// Register an additional factor of authentication
// such as Time-based One Time Password (TOTP)

import "github.com/workos/workos-go/pkg/mfa"

mfa.SetAPIKey("sk_example_123456")

enroll, err := mfa.EnrollFactor(context.Background(), mfa.GetEnrollOpts{
  Type:       "totp",
  TotpIssuer: "Foo Corp",
  TotpUser:   "[email protected]",
})



// Register an additional factor of authentication
// such as Time-based One Time Password (TOTP)

$this->mfa = new WorkOS\MFA();

$type = "totp";
$totpIssuer = "Foo Corp";
$totpUser = "[email protected]";

$factor = $this->mfa->enrollFactor($type, $totpIssuer, $totpUser);





// Register an additional factor of authentication
// such as Time-based One Time Password (TOTP)

import com.workos.WorkOS;

WorkOS workos = new WorkOS("sk_example_123456");

EnrollFactorOptions options = MfaApi.EnrollFactorOptions.builder()
  .type("totp")
  .issuer("Foo Corp")
  .user("[email protected]")
  .build();

Factor factor = workos.mfa.enrollFactor(options);

// Register an additional factor of authentication
// such as Time-based One Time Password (TOTP)

WorkOS.SetApiKey("sk_example_123456");

var service = new MfaService();
var options = new EnrollTotpFactorOptions("Foo Corp", "[email protected]");
var response = await service.EnrollFactor(options);







curl --request POST \
  --url "https://api.workos.com/auth/factors/enroll" \
  --header "Authorization: Bearer sk_example_123456" \
  -d type="totp" \
  -d totp_issuer="Foo Corp" \
  -d totp_user="[email protected]"
  
  
  
  
  
  
  
  
  • Stay in control of the user journey

    Choose between enforcing MFA for all users or making it an opt-in configuration.
  • Customizable templates

    Tailor the SMS message delivered to your users to fit your app and brand.
  • Flexible authentication flows

    Allow users to configure both TOTP and SMS verification using the same API interface.

Support authenticator apps for an extra layer of security

Enforce additional security measures by asking users to prove possession of their device using apps like 1Password, Google Authenticator, and Duo.

Restrict access to sensitive resources with re-verification

Require users to verify their identity with a stronger authentication mechanism when accessing restricted resources or performing sensitive actions.

“When I asked the team, how was the experience with WorkOS? They were just like, this is incredible.”
Sam Lambert
CEO
Read more

Add Multi-Factor Auth to your app today

Integrate MFA to your app to ensure that you support the latest authentication security protocols.

Get started
MFA Quick Start

Jump into the docs and start building in minutes.

MFA Product Overview

Watch this overview of the MFA API and how to get started.

MFA Starting Guide

Learn how to secure your app with TOTP and SMS verification.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.