Skip to main content
Module

x/oauth4webapi/mod.ts>skipStateCheck

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
variable skipStateCheck
import { skipStateCheck } from "https://deno.land/x/oauth4webapi@v2.3.0/mod.ts";

DANGER ZONE

Use this as a value to validateAuthResponse expectedState parameter to skip the state value check. This should only ever 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. It is expected you'll validate such state value yourself.

type

symbol