From 21aa162eba3d865f03aca96c12da82876af5ad5b Mon Sep 17 00:00:00 2001 From: Dominic Saadi Date: Wed, 1 Mar 2023 11:44:05 -0800 Subject: [PATCH] fix type errors --- packages/auth-providers/auth0/web/src/auth0.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/auth-providers/auth0/web/src/auth0.ts b/packages/auth-providers/auth0/web/src/auth0.ts index 89289cd91af0..c65d649aab5a 100644 --- a/packages/auth-providers/auth0/web/src/auth0.ts +++ b/packages/auth-providers/auth0/web/src/auth0.ts @@ -46,8 +46,10 @@ function createAuthImplementation(auth0Client: Auth0Client) { signup: async (options?: RedirectLoginOptions) => auth0Client.loginWithRedirect({ ...options, - screen_hint: 'signup', - prompt: 'login', + authorizationParams: { + screen_hint: 'signup', + prompt: 'login', + }, }), getToken: () => auth0Client.getTokenSilently(), getUserMetadata: async () => {