Compare commits

...

4 Commits

Author SHA1 Message Date
Thang Vu
9f900befe6 chore(release): bump version [skip ci] 2023-08-16 14:43:26 +07:00
Gabriel Villenave
09c2a89df8 fix: use default submodules export in package.json (#8330)
Use `default` submodules export in `package.json` to ensure compatibility, as specified in https://nodejs.org/api/packages.html#conditional-exports
2023-08-16 09:33:07 +02:00
Balázs Orbán
20c3fe3331 fix(ts): correctly expose next-auth/adapters
Fixes https://github.com/nextauthjs/next-auth/issues/8283#issuecomment-1675939280
2023-08-12 16:37:18 +02:00
Manuel Cattelan
e26f500d18 docs(providers): add warning for gitlab provider (#8292) 2023-08-11 13:56:56 +02:00
2 changed files with 15 additions and 8 deletions

View File

@@ -3,6 +3,10 @@ id: gitlab
title: GitLab
---
:::note
GitLab returns a field on `Account` called `created_at` which is a number. See their [docs](https://docs.gitlab.com/ee/api/oauth2.html). Remember to add this field as optional to your database schema, in case if you are using an [Adapter](https://authjs.dev/reference/adapters).
:::
## Documentation
https://docs.gitlab.com/ee/api/oauth2.html

View File

@@ -1,6 +1,6 @@
{
"name": "next-auth",
"version": "4.23.0",
"version": "4.23.1",
"description": "Authentication for Next.js",
"homepage": "https://next-auth.js.org",
"repository": "https://github.com/nextauthjs/next-auth.git",
@@ -29,31 +29,34 @@
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js"
"default": "./index.js"
},
"./adapters": {
"types": "./adapters.d.ts"
},
"./jwt": {
"types": "./jwt/index.d.ts",
"import": "./jwt/index.js"
"default": "./jwt/index.js"
},
"./react": {
"types": "./react/index.d.ts",
"import": "./react/index.js"
"default": "./react/index.js"
},
"./next": {
"types": "./next/index.d.ts",
"import": "./next/index.js"
"default": "./next/index.js"
},
"./middleware": {
"types": "./middleware.d.ts",
"import": "./middleware.js"
"default": "./middleware.js"
},
"./client/_utils": {
"types": "./client/_utils.d.ts",
"import": "./client/_utils.js"
"default": "./client/_utils.js"
},
"./providers/*": {
"types": "./providers/*.d.ts",
"import": "./providers/*.js"
"default": "./providers/*.js"
}
},
"scripts": {