link-stack/apps/bridge-frontend/app/_lib/authentication.ts

14 lines
287 B
TypeScript
Raw Permalink Normal View History

2024-04-23 13:36:51 +02:00
import GoogleProvider from "next-auth/providers/google";
2024-03-17 12:58:25 +01:00
2024-04-23 13:36:51 +02:00
export const authOptions = {
2024-03-17 12:58:25 +01:00
providers: [
GoogleProvider({
clientId: process.env.GOOGLE_CLIENT_ID!,
clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
}),
],
2024-04-23 13:36:51 +02:00
session: {
strategy: "jwt" as any,
},
};