auth0: always show univeseral login

This commit is contained in:
ramnique 2025-02-03 20:55:58 +05:30
parent 9faf51417d
commit c3d9036d63

View file

@ -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'
}
})
});