mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-01 03:16:29 +02:00
auth0: always show univeseral login
This commit is contained in:
parent
9faf51417d
commit
c3d9036d63
1 changed files with 9 additions and 2 deletions
|
|
@ -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();
|
||||
export const GET = handleAuth({
|
||||
login: handleLogin({
|
||||
authorizationParams: {
|
||||
prompt: 'login'
|
||||
}
|
||||
})
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue