diff --git a/app/package-lock.json b/app/package-lock.json index a054a3d7d..310520e73 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -27,9 +27,9 @@ } }, "node_modules/@authorizerdev/authorizer-js": { - "version": "1.2.18", - "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-1.2.18.tgz", - "integrity": "sha512-9j5U/4lqaaEcG78Zli+TtLJ0migSKhFwnXXunulAGTZOzQSTCJ/CSSPip5wWNa/Mkr6gdEMwk1HYfhIdk2A9Mg==", + "version": "2.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-2.0.0-beta.3.tgz", + "integrity": "sha512-cEzEVe7AewvOwOwoettiKRCq1e5Y33k9g8fJjqAoe3B/36iNN8wnZ5qgsPPZkqhv+Cvn6huj+YWtRimfVJ6d0w==", "dependencies": { "cross-fetch": "^3.1.5" }, @@ -45,7 +45,7 @@ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-react/-/authorizer-react-1.2.0.tgz", "integrity": "sha512-MtunZgh30rzY9jSADVP1DRC4sOBC82zx/yhK8O/1ufOAi7vTDZwPjDHIMrG/xWPNUYTCeFPEKpZlKyB+TH/M1w==", "dependencies": { - "@authorizerdev/authorizer-js": "^1.2.18", + "@authorizerdev/authorizer-js": "^2.0.0-beta.3", "validator": "^13.11.0" }, "engines": { diff --git a/app/src/pages/login.tsx b/app/src/pages/login.tsx index 42e38a598..1689de205 100644 --- a/app/src/pages/login.tsx +++ b/app/src/pages/login.tsx @@ -71,6 +71,9 @@ export default function Login({ urlProps }: { urlProps: Record }) { ...urlProps, redirect_uri: `${window.location.origin}/app/reset-password`, }} + onPasswordReset={() => { + setView(VIEW_TYPES.LOGIN); + }} />