Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>skipStateCheck

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
variable skipStateCheck
import { skipStateCheck } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";

DANGER ZONE - This option has security implications that must be understood, assessed for applicability, and accepted before use.

Use this as a value to validateAuthResponse expectedState parameter to skip the state value check when you'll be validating such state value yourself instead. This should only be done if you use a state parameter value that is integrity protected and bound to the browsing session. One such mechanism to do so is described in an I-D draft-bradley-oauth-jwt-encoded-state-09.

type

unique symbol