Skip to content

Commit

Permalink
fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Mar 1, 2023
1 parent 84136d0 commit 21aa162
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/auth-providers/auth0/web/src/auth0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 21aa162

Please sign in to comment.