Balázs Orbán
f0ed23acf6
fix: allow react@18 as peer dependency
2022-04-28 11:35:14 +02:00
Lluis Agusti
fb4bbc3b08
fix(ts): handle NextRequest type ( #4472 )
...
* fix(jwt): handle NextRequest
* fix(cookie): Headers from fetch request
* Update packages/next-auth/src/jwt/index.ts
* fix: tests
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-04-28 11:22:49 +02:00
Smultar
4c832f855e
Fixes 404 error, when visiting the options link ( #4462 )
...
The current link leads to nowhere.
2022-04-25 16:57:30 +02:00
Nico Domino
e3ace6e649
chore: add SIWE and signin example links ( #4463 )
...
* chore(docs): add link to SIWE example app / tutorial
* chore(docs): add link to example signin page and cleanup
* chore: update copy for SIWE credentials provider example
2022-04-24 14:18:03 +02:00
Jon Parton
8a75911567
fix(client): update 'signin' page error example ( #4412 )
...
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-04-22 18:24:33 +02:00
Lluis Agusti
8288ae5be8
fix(providers): profile types ( #4202 )
2022-04-22 13:15:24 +02:00
Jiyeol Lee
9f40cd1bd9
fix(client): add additional type ( #4402 )
...
* Add additional type
* do not cast to 'any' anymore
* add missing import
* import NextRequest from next/server
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-04-22 13:10:10 +02:00
Thang Vu
39b4d62336
docs: remove error event in config options ( #4406 )
2022-04-22 10:38:26 +02:00
Balázs Orbán
1faae313fa
docs: update callbacks
2022-04-20 19:27:01 +02:00
Balázs Orbán
e71118b996
chore: bump versions
next-auth@v4.3.3
2022-04-20 19:07:54 +02:00
Balázs Orbán
afdb3c8d7c
fix: more strict default callback url handling
2022-04-20 18:52:24 +02:00
Raúl Marín
fd755bc29e
fix(signin): set email sign-in input to "email" & "required"( #4352 )
...
* fix(core\pages\signin.tsx): set type of built-in email sign-in input to email for browse validation
* fix(core\pages\signin.tsx): add required attribute to built-in sign-in email input
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-04-15 19:12:01 +02:00
Yisu Kim
59daa0e43f
fix(providers): add optional chaining to avoid nullish reference errors ( #4365 )
2022-04-14 16:35:54 +02:00
Simon Kirsten
58d06ed727
fix: Cleanup global __NEXTAUTH state after unmount ( #4383 )
2022-04-14 16:35:10 +02:00
Salah Eddine
82159d3e8f
docs: remove auth from keycloack url ( #4391 )
...
in keycloak 17.0+ , There's a change in endpoints as per the official documentation (https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_users_resource ) .
so the new url well be https://my-keycloak-domain.com/realms/My_Realm
2022-04-14 16:28:21 +02:00
Balázs Orbán
abb9fed7aa
chore: bump versions
2022-04-14 11:09:32 +02:00
Balázs Orbán
5471c0f675
chore: use --no-workspaces
...
See: https://github.com/npm/cli/issues/4605#issuecomment-1076900100
2022-04-14 11:03:27 +02:00
Balázs Orbán
b2da0b38d4
chore: add --verbose
2022-04-14 10:54:20 +02:00
Balázs Orbán
b3b8d4be46
chore: log npm config list
2022-04-13 18:05:21 +02:00
Balázs Orbán
182e118d9b
chore: else
2022-04-13 15:19:18 +02:00
Balázs Orbán
7183b06939
chore: write .npmrc
2022-04-13 15:18:35 +02:00
Balázs Orbán
bd10e87bf4
chore: more visible log
2022-04-13 15:08:14 +02:00
Balázs Orbán
d07abfe517
chore: log
2022-04-13 15:00:44 +02:00
Balázs Orbán
c1110cdc98
chore: don't write .npmrc
2022-04-13 14:35:57 +02:00
Balázs Orbán
8ed038d891
chore: revert
2022-04-12 17:05:40 +02:00
Balázs Orbán
b25425795b
chore: CI=1
2022-04-12 17:01:16 +02:00
Balázs Orbán
ad1650a817
chore: no brackets
2022-04-12 16:52:09 +02:00
Balázs Orbán
a4a487a22a
chore: NPM_TOKEN_PKG
2022-04-12 16:46:26 +02:00
Balázs Orbán
b30de36126
chore: remove cat
2022-04-12 16:36:38 +02:00
Balázs Orbán
41e4e515ad
chore: cat .npmrc
2022-04-12 16:35:12 +02:00
Balázs Orbán
cde1f82e3c
chore: revert
2022-04-12 16:26:55 +02:00
Balázs Orbán
c39782007b
chore: pkg vs org?
2022-04-12 16:22:33 +02:00
Balázs Orbán
984a089c15
chore: ignore .npmrc
2022-04-12 16:10:04 +02:00
Balázs Orbán
26f8b8c1f1
chore: remove npm whoami
2022-04-12 16:09:27 +02:00
Balázs Orbán
afc9b43c53
chore: npm whoami
2022-04-12 16:03:02 +02:00
Balázs Orbán
cdbd9ac2e6
chore: manually upgrade dep version
2022-04-12 15:39:55 +02:00
Balázs Orbán
3d8cc316f1
chore: debug release script
2022-04-12 15:32:50 +02:00
Balázs Orbán
3b8c568f79
chore: trigger deploy
2022-04-12 15:22:57 +02:00
Balázs Orbán
16668d307d
docs: revert
2022-04-12 14:17:00 +02:00
Balázs Orbán
6e15bdcb2d
fix: update default callbacks.redirect
2022-04-12 14:14:35 +02:00
Yisu Kim
7a4bf038b1
Update callbacks.md ( #4361 )
...
missing async keyword
2022-04-09 22:23:26 +02:00
Francis Gulotta
11ad64f617
docs: add google oauth URI examples ( #4347 )
...
* docs: add google oauth URI examples
* Update docs/docs/providers/google.md
Co-authored-by: Lluis Agusti <hi@llu.lu >
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-04-09 09:45:55 +02:00
Francis Gulotta
0a278b9297
docs: callbacks can now be relative ( #4346 )
...
* docs: callbacks can now be relative
since v4 anyway
* Update docs/docs/getting-started/client.md
Co-authored-by: Lluis Agusti <hi@llu.lu >
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-04-09 09:45:19 +02:00
Francis Gulotta
8c8070f30b
docs(client): fix type in signIn examples ( #4308 )
2022-04-07 12:58:06 +02:00
Christopher Reece
6442d089c1
docs(adapters): update providerAccount to account ( #4329 )
2022-04-07 12:45:41 +02:00
Francis Gulotta
63398d4c3f
docs: Update JWT docs to reflect JWE changes in v4 ( #4313 )
...
* docs: Update JWT docs to reflect JWE changes in v4
This PR https://github.com/nextauthjs/next-auth/pull/3039 changed the defaults for JWT tokens to be encrypted by default (JWE). We have conflicting documentation across the docs site and readme.
Additionatlly this PR https://github.com/nextauthjs/next-auth/pull/3783 made providing a secret required in production via NEXTAUTH_SECRET or an option.
* Missed a reference
* Update docs/docs/faq.md
Co-authored-by: Nico Domino <yo@ndo.dev >
* Update docs/docs/faq.md
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-04-05 12:48:06 +02:00
Oliver Terbu
0d54170e83
feat: added siwe tutorial ( #4276 )
...
Co-authored-by: Oliver Terbu <oliver@awoie.local >
2022-04-04 22:52:55 +02:00
Francis Gulotta
174f0d6aec
chore(docs): fix Custom Client Session Handling example ( #4310 )
...
* docs: fix Custom Client Session Handling example
It made reference to a useEffect call that was no longer needed.
* Update docs/docs/getting-started/client.md
Co-authored-by: Lluis Agusti <hi@llu.lu >
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-04-04 22:11:59 +02:00
Francis Gulotta
f91b9dc03d
docs: Add some more context to the adapters page ( #4303 )
...
Link the models to the adapters page to provide some context about what is passed into each function.
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-04-02 12:48:19 +02:00
Sriram Jothiswaran
8763e4aeb9
chore(docs): update prisma mongodb connector required modifications ( #4304 )
...
* Update for Mongodb prisma connector
In reference to https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#model-field-scalar-types , for scalar type String the native MongoDB type attribute is @db.String.
* Update prisma.md
2022-04-02 12:48:06 +02:00