Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oauth4webapi/mod.ts>skipStateCheck

OAuth 2 / OpenID Connect for JavaScript Runtimes
Latest
variable skipStateCheck
import { skipStateCheck } from "https://deno.land/x/oauth4webapi@v2.11.1/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