remix-auth-auth0
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -62,4 +62,4 @@ import { OAuth2Profile, OAuth2Strategy, OAuth2StrategyVerifyParams } from "remix-auth-oauth2"; | ||
constructor(options: Auth0StrategyOptions, verify: StrategyVerifyCallback<User, OAuth2StrategyVerifyParams<Auth0Profile, Auth0ExtraParams>>); | ||
protected authorizationParams(): URLSearchParams; | ||
protected authorizationParams(params: URLSearchParams): URLSearchParams; | ||
protected userProfile(accessToken: string): Promise<Auth0Profile>; | ||
} |
@@ -20,10 +20,8 @@ "use strict"; | ||
} | ||
authorizationParams() { | ||
const urlSearchParams = { | ||
scope: this.scope, | ||
}; | ||
authorizationParams(params) { | ||
params.set("scope", this.scope); | ||
if (this.audience) { | ||
urlSearchParams.audience = this.audience; | ||
params.set("audience", this.audience); | ||
} | ||
return new URLSearchParams(urlSearchParams); | ||
return new URLSearchParams(params); | ||
} | ||
@@ -30,0 +28,0 @@ async userProfile(accessToken) { |
{ | ||
"name": "remix-auth-auth0", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"main": "./build/index.js", | ||
@@ -32,12 +32,12 @@ "types": "./build/index.d.ts", | ||
"devDependencies": { | ||
"@babel/core": "7.16.7", | ||
"@babel/preset-env": "7.16.8", | ||
"@babel/core": "7.16.10", | ||
"@babel/preset-env": "7.16.11", | ||
"@babel/preset-react": "7.16.7", | ||
"@babel/preset-typescript": "7.16.7", | ||
"@remix-run/node": "1.1.1", | ||
"@remix-run/react": "1.1.1", | ||
"@remix-run/server-runtime": "1.1.1", | ||
"@remix-run/node": "1.1.3", | ||
"@remix-run/react": "1.1.3", | ||
"@remix-run/server-runtime": "1.1.3", | ||
"@types/jest": "27.4.0", | ||
"@typescript-eslint/eslint-plugin": "5.9.1", | ||
"@typescript-eslint/parser": "5.9.1", | ||
"@typescript-eslint/eslint-plugin": "5.10.0", | ||
"@typescript-eslint/parser": "5.10.0", | ||
"babel-jest": "27.4.6", | ||
@@ -55,3 +55,3 @@ "eslint": "8.7.0", | ||
"ts-node": "10.4.0", | ||
"typescript": "4.5.4" | ||
"typescript": "4.5.5" | ||
}, | ||
@@ -58,0 +58,0 @@ "dependencies": { |
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
8416
112