diff --git a/apps/rowboat/app/api/auth/[auth0]/route.ts b/apps/rowboat/app/api/auth/[auth0]/route.ts index aa8b000c..d74b427c 100644 --- a/apps/rowboat/app/api/auth/[auth0]/route.ts +++ b/apps/rowboat/app/api/auth/[auth0]/route.ts @@ -1,3 +1,10 @@ -import { handleAuth } from '@auth0/nextjs-auth0'; +// pages/api/auth/[auth0].js +import { handleAuth, handleLogin } from '@auth0/nextjs-auth0'; -export const GET = handleAuth(); \ No newline at end of file +export const GET = handleAuth({ + login: handleLogin({ + authorizationParams: { + prompt: 'login' + } + }) +}); \ No newline at end of file