Balázs Orbán
f3291025e6
fix(core): properly construct url ( #5984 )
next-auth@v4.18.2
2022-12-08 04:33:20 +01:00
Balázs Orbán
bc0912cc71
chore(release): bump package version(s) [skip ci]
next-auth@v4.18.1
2022-12-08 00:08:09 +01:00
Branden Cash
b19b2bcb3f
fix(core): don't mutate authOptions in unstable_getServerSession ( #5973 )
2022-12-07 22:04:53 +01:00
Balázs Orbán
63c2a15717
Update nextjs.md
2022-12-07 14:39:57 +01:00
Balázs Orbán
9209b48dbe
chore: add issue validator
2022-12-06 12:21:42 +01:00
Balázs Orbán
0fcc6a0d04
refactor: more renames
2022-12-05 13:38:29 +01:00
Balázs Orbán
cbf8c7a59f
refactor: rename
2022-12-03 15:51:38 +01:00
Balázs Orbán
0e6c51adec
refactor: rename
2022-12-03 15:41:39 +01:00
Balázs Orbán
c4352a7d56
chore(dev): upgrade dev app and deps
...
Conflicts:
apps/dev/pages/api/auth/[...nextauth].ts
2022-12-03 15:33:49 +01:00
Balázs Orbán
7e91d7df54
refactor(core): use standard Request and Response ( #4769 )
...
* WIP use `Request` and `Response` for core
* bump Next.js
* rename ts types
* refactor
* simplify
* upgrade Next.js
* implement body reader
* use `Request`/`Response` in `next-auth/next`
* make linter happy
* revert
* fix tests
* remove workaround for middleware return type
* return session in protected api route example
* don't export internal handler
* fall back host to localhost
* refactor `getBody`
* refactor `next-auth/next`
* chore: add `@edge-runtime/jest-environment`
* fix tests, using Node 18 as runtime
* fix test
* remove patch
* fix neo4j build
* remove new-line
* reduce file changes in the PR
* fix tests
* fix tests
* refactor
* refactor
* add host tests
* refactor tests
* fix body reading
* fix tests
* use 302
* fix test
* fix again
* fix tests
* handle when body is `Buffer`
* move comment
2022-12-03 13:39:08 +00:00
Balázs Orbán
c1424136db
chore(dev): don't load all adapters in dev app
2022-12-03 13:45:06 +01:00
Balázs Orbán
f2a07932b9
chore(release): bump package version(s) [skip ci]
next-auth@v4.18.0
@next-auth/firebase-adapter@v1.0.3
@next-auth/pouchdb-adapter@v.0.1.5
2022-12-03 12:38:32 +01:00
Balázs Orbán
25c7ce1d2b
chore: revert sync-example action
2022-12-03 12:31:22 +01:00
Vedant
227a233bd8
chore(adapters): update firebase sdk version in firebase adapter ( #5902 )
...
* Update firebase SDK version
* Update pnpm-lock.yaml
* add `--debug`
* move flag
* add `FIREBASE_TOKEN`
* chore: upgrade `firebase-tools`
* revert peer dep change
* remove --debug flag
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-12-03 11:29:09 +00:00
Vedant
cf9f133aa3
fix(adapters): tsconfig for firebase and pouchdb ( #5945 )
...
* Update tsconfig.json
* Update tsconfig.json
2022-12-03 09:48:55 +01:00
Arnaud Zheng
2301c1be44
chore(types): fix typo in comment ( #5815 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-12-02 16:39:28 +01:00
jintak0401
6e408e24bf
fix(provider): modify response.name to response.nickname (Naver) ( #5915 )
...
fix(provider): modify response.name to response.nickname (Naver Provider)
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-12-01 08:12:16 +07:00
Jason Brady
f277989c69
feat(core): make pkce and state maxAge configurable on the cookies ( #4719 )
...
* feat(cookies): make pkce and state maxAge configurable on the cookies (#4660 )
* added tests for pkce and state handlers
2022-12-01 08:02:42 +07:00
Nico Domino
6146e93288
chore(docs): add new provider styling notes to CONTRIBUTING.md ( #5900 )
2022-11-30 15:44:50 +01:00
Nico Domino
1ff565da6c
chore(docs): update oauth.md styling docs ( #5899 )
...
* chore(docs): update oauth.md styling docs
* chore: add note about styling object
* chore: typo
* chore: filename typos
2022-11-30 15:43:55 +01:00
Nico Domino
41f75cf870
chore(actions): version bump all deps ( #5903 )
2022-11-28 11:10:15 +00:00
Justin W Hall
dd591ed8d0
chore(docs): fix path Strava provider file ( #5853 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-11-27 14:04:17 +01:00
koolskateguy89
297bc2317f
chore(docs): fix spelling in docs ( #5867 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-11-27 13:44:35 +01:00
Tormod Flesjø
b170138e70
chore: update mongodb.md with typescript filetypes ( #5889 )
2022-11-27 13:11:54 +01:00
Balázs Orbán
a307079e0f
fix(ts): improve unstable_getServerSession return type ( #5792 )
...
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-11-24 15:13:05 +01:00
Jacob Penny
d52b7a6b7d
chore(adapters): fix typo on Firebase Adapter ( #5813 )
2022-11-24 14:31:43 +01:00
Jake Mulley
30b69a07eb
chore: fix import statement for next-auth/providers/email ( #5860 )
2022-11-21 12:07:09 +01:00
Balázs Orbán
0d1757814f
fix(next): improve dev environment variable handling ( #5763 )
...
* fix(next): HIDE `NEXTAUTH_URL` warning locally
* refactor: move out `process.env` from core
* fix tests
* simplify
* swap
2022-11-20 09:08:10 +00:00
Thang Vu
068f9b50b8
chore(release): bump package version(s) [skip ci]
@next-auth/supabase-adapter@v0.2.0
next-auth@v4.17.0
2022-11-19 21:29:28 +07:00
Martin Sonnberger
dac490b7a1
feat(adapters): Add Supabase adapter ( #5050 )
...
* Add Supabase adapter
* Add Supabase adapter
* Add schema setup to docs
* supabase config changes
* chore: update to supabase-js v2.
* chore: migrate to next_auth schema.
* feat: add supabase examples.
* chore: update docs.
* chore: add telemetry.
* fix: resolve issues after merge.
* chore: extend session type.
* typo
* chore: remove unnecessary grants.
* fix: schema constraints.
Co-authored-by: thorwebdev <thor@supabase.io >
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com >
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-11-19 20:56:20 +07:00
Gregor Adams
c0f51669e2
docs: upadte mongodb guide ( #5809 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-11-16 16:38:55 +01:00
Nico Domino
cbf8ce3510
chore: fix signin btns svg URLs to 'main' ( #5826 )
2022-11-15 22:07:30 +01:00
Nico Domino
1c19cc71df
chore: add tour de source link to CONTRIBUTING.md ( #5820 )
2022-11-15 16:47:15 +00:00
Nico Domino
9d962a0056
feat: add signin button styles ( #5802 )
...
* feat: add signin button styles
* fix: remove unnecessary spans
chore: rm comments
* Update packages/next-auth/src/core/pages/signin.tsx
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* feat: add provider svgs to repo
* fix: adjust SVG sizes
* fix: adjust provider btn to logo links
* feat: apple provider btn style
* fix: add apple-dark svg
* feat: atlassian logo and style
* feat: auth0 logo and style
* feat: azure logo and style
* fix: azure logo size
* feat: battlenet logo and style
* feat: box logo and style
* feat: cognito logo and style
* feat: discord logo and style
* feat: facebook logo and style
* feat: foursquare logo and style
* fix: foursquare logo size
* feat: freshbooks logo and style
* feat: gitlab logo and style
* fix: gitlab logo whitespace
* feat: hubspot logo and style
* feat: instagram logo and style
* feat: keycloak logo and style
* feat: keycloak logo resize
* feat: linkedin logo and style
* feat: mailchimp logo and style
* feat: okta logo and style
* feat: update okta logos
* feat: patreon logo and style
* fix: okta logo viewbox
* feat: slack logo and style
* feat: spotify logo and style
* feat: todoist logo and style
* fix: spotify logo size
* feat: trakt logo and style
* feat: twitch logo and style
* feat: twitter logo and style
* feat: vk logo and style
* feat: wikimedia logo and style
* feat: workos logo and style
* fix: wikimedia-dark logo + twitter (legacy)
* fix: button:active styling
* fix: ignore eslint inline css custom properties warning
* fix: improve darkmode default btn stylign
* fix: swap github btn colors
* fix: swap line btn theme colors
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-11-15 16:46:42 +00:00
Håkon Collett Bjørgan
8387c78e3f
fix(core): update JSDoc for jwt in NextAuthOptions ( #5804 )
2022-11-13 07:55:35 +01:00
Balázs Orbán
58e30a6af6
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.4
2022-11-07 21:33:48 +01:00
Balázs Orbán
b7ff987baf
docs: update unstable_getServerSession in RSC
2022-11-07 21:20:06 +01:00
Balázs Orbán
782812a52b
fix(next): correctly parse headers with RSC ( #5753 )
...
* fix(next): correctly parse headers with RSC
* chore(dev): simplify/fix dev app
* make authOptions optional for RSC case
2022-11-07 20:19:14 +00:00
Balázs Orbán
32f2a0cea3
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.3
2022-11-07 03:40:46 +01:00
Balázs Orbán
3343ef18b2
fix(next): conditional RSC support ( #5745 )
...
* fix(next): conditional RSC
* use Node 16 for version determination
* convert cookies
* use map instead of reduce
2022-11-07 02:33:47 +00:00
Robert Soriano
6280fe9e10
docs: add Nuxt 3 playground ( #5746 )
2022-11-06 20:33:02 +01:00
Balázs Orbán
52a2bf3e28
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.2
2022-11-06 06:24:30 +01:00
Balázs Orbán
180c6252d9
fix(next): build RSC+unstable_getServerSession
2022-11-06 06:09:27 +01:00
Balázs Orbán
362e981e6d
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.1
2022-11-06 06:07:47 +01:00
Balázs Orbán
5198eb19f7
fix(next): build RSC+unstable_getServerSession
2022-11-06 05:53:38 +01:00
Balázs Orbán
0210cfccf3
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.0
2022-11-06 05:12:31 +01:00
Balázs Orbán
e90925bea0
feat(next): allow unstable_getServerSession in Server Components ( #5741 )
...
* feat(next): support Server Components with `unstable_getServerSession`
* chore: remove `.entries`
* docs(next): add documentation for RSC
* update beta docs
* chore(dev): add app dir
* fix text
* only show second warning if using with RSC
* only delete expires for RSC case
2022-11-06 04:03:26 +00:00
Leif Arriens
27a0b70d87
docs: fix import path at providers/oauth ( #5725 ) ( #5736 )
2022-11-06 00:54:01 +01:00
Balázs Orbán
c676e93d8a
chore(release): bump package version(s) [skip ci]
next-auth@v.4.15.2
2022-11-05 23:43:00 +01:00
Matthew Francis Brunetti
f498e9cd0a
fix(react): allow imports from "next-auth/react" in RSC ( #5718 )
2022-11-05 23:09:51 +01:00