GitHub Actions
25388de027
chore(release): bump package version(s) [skip ci]
2023-04-18 17:45:29 +00:00
Balázs Orbán
6f9ca4143d
fix: detect origin when instanceof Request check fails ( #7303 )
2023-04-18 17:46:49 +01:00
Raul
c2fc41b44d
chore: fix "Contributing guide" link ( #7279 )
2023-04-17 10:36:23 +01:00
Chris Hayes
01d7eb4feb
docs: Remove --save from install command ( #7277 )
...
Remove --save from install command
--save is no longer needed on npm install.
2023-04-17 10:35:48 +01:00
Thang Vu
fa58065951
chore: move next-auth from v4 to main ( #7265 )
2023-04-15 17:02:46 +01:00
Andres Rodriguez
b48104801b
chore(provider): added svg for Reddit ( #7050 )
...
Added svg for Reddit
Co-authored-by: Nico Domino <yo@ndo.dev >
2023-03-27 09:36:47 +02:00
Gabriel Manor
605d15c3cc
docs: Add Permit.io Bronze Sponsor ( #7008 )
2023-03-20 17:42:11 +01:00
Nico Domino
f6bb16b264
chore: update README sponsors - fusionauth level ( #6892 )
2023-03-08 16:54:54 +00:00
Nico Domino
a220245d03
chore(repo): add FusionAuth to README supporters ( #6883 )
...
* chore(repo): add FusionAuthu to README supporters
* chore(repo): put sponsors on two lines of 5
2023-03-07 08:53:25 +07:00
Will
d1d63bddba
chore: Add 🥈 Silver Financial Sponsors ( #6757 )
...
Add Silver Sponsors to the README
2023-02-23 11:32:48 +07:00
Balázs Orbán
daa85be1ad
Revert "chore(next-auth): remove engines restriction ( #6428 )"
...
This reverts commit 035836da98 .
2023-01-24 02:25:45 +01:00
Richard Shin
035836da98
chore(next-auth): remove engines restriction ( #6428 )
...
* fix: add node 19 as compatible engine
* remove engines restriction
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-01-21 16:29:45 +07:00
Balázs Orbán
c1f3cbda3c
chore: move icons to website
2023-01-07 08:02:27 +01:00
Thang Vu
8005f0cdb0
chore: update watch command for next-auth dev
2023-01-07 07:47:30 +01:00
Thang Vu
15bed6260c
chore: change Thang's email
2023-01-01 22:45:36 +07:00
1337cookie
2e52a89c52
docs: fix links to moved docs ( #6196 )
2022-12-27 16:10:31 +01:00
Balázs Orbán
137d993a13
chore(dev): upgrade next
2022-12-24 17:15:35 +01:00
Balázs Orbán
f9b75e0a39
chore: remove extra tsconfigs
2022-12-24 03:16:50 +01:00
Balázs Orbán
9d6f54539d
chore: simplify eslint linting
2022-12-24 03:10:03 +01:00
Balázs Orbán
fdd5e2390d
chore: format
2022-12-23 14:42:37 +01:00
Balázs Orbán
2913fbac3b
chore(release): bump package version(s) [skip ci]
2022-12-12 14:53:01 +01:00
Balázs Orbán
2875b49f11
fix(core): preserve incoming set cookies ( #6029 )
...
* fix(core): preserve `set-cookie` by the user
* add test
* improve req/res mocking
* refactor
* fix comment typo
2022-12-12 13:47:34 +00:00
Balázs Orbán
5259d247a2
fix(next): correctly bundle next-auth/middleware
...
fixes #6025
2022-12-12 11:59:37 +01:00
Balázs Orbán
d1d93fd75e
chore(release): bump package version(s) [skip ci]
2022-12-11 15:52:57 +01:00
Balázs Orbán
62f672ae30
fix(core): host detection/NEXTAUTH_URL ( #6007 )
...
* rename `host` to `origin` internally
* rename `userOptions` to `authOptions` internally
* use object for `headers` internally
* default `method` to GET
* simplify `unstable_getServerSession`
* allow optional headers
* revert middleware
* wip getURL
* revert host detection
* use old `detectHost`
* fix/add some tests wip
* move more to core, refactor getURL
* better type auth actions
* fix custom path support (w/ api/auth)
* add `getURL` tests
* fix email tests
* fix assert tests
* custom base without api/auth, with trailing slash
* remove parseUrl from assert.ts
* return 400 when wrong url
* fix tests
* refactor
* fix protocol in dev
* fix tests
* fix custom url handling
* add todo comments
2022-12-11 14:48:28 +00:00
Balázs Orbán
2c669b32fc
fix(core): correct status code when returning redirects ( #6004 )
...
* fix(core): correctly set status when returning redirect
* update tests
* forward other headers
* update test
* remove default 200 status
2022-12-11 12:55:16 +00:00
Balázs Orbán
6fdb0da6eb
chore(release): bump package version(s) [skip ci]
2022-12-09 00:34:31 +01:00
Balázs Orbán
5c4a9a697d
fix(core): handle Request -> Response regressions ( #5991 )
...
* fix(next): don't override `Content-Type` by `unstable_getServerSession`
* fix(core): handle `,` while setting `set-cookie`
2022-12-08 23:29:25 +00:00
Balázs Orbán
b74bfc68e8
chore(release): bump package version(s) [skip ci]
2022-12-08 05:16:10 +01:00
Balázs Orbán
0a140cdf87
test(core): fix test
2022-12-08 05:11:37 +01:00
Balázs Orbán
157269e0fb
fix(core): throw error if no action can be determined
2022-12-08 05:10:26 +01:00
Balázs Orbán
221bc8e99c
fix(core): add protocol if missing
2022-12-08 04:54:42 +01:00
Balázs Orbán
f856363ac8
chore(release): bump package version(s) [skip ci]
2022-12-08 04:38:03 +01:00
Balázs Orbán
f3291025e6
fix(core): properly construct url ( #5984 )
2022-12-08 04:33:20 +01:00
Balázs Orbán
bc0912cc71
chore(release): bump package version(s) [skip ci]
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
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
f2a07932b9
chore(release): bump package version(s) [skip ci]
2022-12-03 12:38:32 +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
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
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]
2022-11-19 21:29:28 +07:00
Nico Domino
cbf8ce3510
chore: fix signin btns svg URLs to 'main' ( #5826 )
2022-11-15 22:07:30 +01: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