next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

refactor(express): expose ExpressAuthConfig

Open reslear opened this issue 1 year ago • 2 comments
trafficstars

right now we use:

export const authConfig: Parameters<typeof ExpressAuth>[0] = {
  providers: [],
  session: {
    strategy: 'jwt',
  },
}

after

export const authConfig: ExpressAuthConfig = {
  providers: [],
  session: {
    strategy: 'jwt',
  },
}

And solves code duplication .

about tests and documentation, please tell me where to look :)

reslear avatar Jun 07 '24 12:06 reslear

@reslear is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 07 '24 12:06 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 7, 2024 0:41am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Jun 7, 2024 0:41am

vercel[bot] avatar Jun 07 '24 12:06 vercel[bot]