From f8e366cf0f2c20526d2ff358cae1719cdf508040 Mon Sep 17 00:00:00 2001 From: Gyanesh Gouraw Date: Mon, 8 Apr 2024 10:19:36 +0530 Subject: [PATCH] Added additional request parameter to support PAR with JAR requests --- src/auth/oauth.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/auth/oauth.ts b/src/auth/oauth.ts index 736a0a1ac..ce57b1a0f 100644 --- a/src/auth/oauth.ts +++ b/src/auth/oauth.ts @@ -146,6 +146,11 @@ export interface PushedAuthorizationRequest extends ClientCredentials { */ code_challenge?: string; + /** + * Allows JWT-Secured Authorization Request (JAR), when JAR & PAR request are used together. {@link https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow/authorization-code-flow-with-par-and-jar | Reference} + */ + request?: string; + /** * Allow for any custom property to be sent to Auth0 */