Skip to content

use/useAuthFlow

Overview

Sets up reauthentication routing, UnauthorizedError interception, and a form context for forms that gate access behind prior authentication.

Methods

  • useAuthFlow - Registers reauthentication routing behaviour, produces a submission error handler, and provides a form context.

Types

AuthFlowContext

AuthFlowOptions

Source

client/lib/use/useAuthFlow.js:1

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2