You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
551 B
1 lines
551 B
{"ast":null,"code":"import NextAuth from \"next-auth\";\nimport Providers from \"next-auth/providers\";\nimport config from \"../../../config\";\nconst options = {\n // Configure one or more authentication providers\n providers: [Providers.Auth0(config.auth0())],\n session: {\n jwt: true,\n maxAge: 86400 * 7,\n updateAge: 86400\n },\n useSecureCookies: config.session().secure || false,\n secret: config.session().secret\n};\nexport default ((req, res) => NextAuth(req, res, options));","map":null,"metadata":{},"sourceType":"module"}
|