remix-auth-auth0
Advanced tools
Comparing version 1.3.8 to 1.4.0
@@ -10,2 +10,3 @@ import { OAuth2Profile, OAuth2Strategy, OAuth2StrategyVerifyParams } from "remix-auth-oauth2"; | ||
audience?: string; | ||
organization?: string; | ||
} | ||
@@ -62,2 +63,3 @@ export interface Auth0ExtraParams extends Record<string, string | number> { | ||
private audience?; | ||
private organization?; | ||
constructor(options: Auth0StrategyOptions, verify: StrategyVerifyCallback<User, OAuth2StrategyVerifyParams<Auth0Profile, Auth0ExtraParams>>); | ||
@@ -64,0 +66,0 @@ protected authorizationParams(params: URLSearchParams): URLSearchParams; |
@@ -19,2 +19,3 @@ "use strict"; | ||
this.audience = options.audience; | ||
this.organization = options.organization; | ||
} | ||
@@ -25,2 +26,4 @@ authorizationParams(params) { | ||
params.set("audience", this.audience); | ||
if (this.organization) | ||
params.set("organization", this.organization); | ||
return params; | ||
@@ -27,0 +30,0 @@ } |
{ | ||
"name": "remix-auth-auth0", | ||
"version": "1.3.8", | ||
"version": "1.4.0", | ||
"main": "./build/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./build/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8531
116