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

x/oauth4webapi/mod.ts>skipStateCheck

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