Balázs Orbán
29977f108f
Update bug_report.yaml
2022-01-25 18:36:56 +01:00
Balázs Orbán
7d2e16a6bb
Update bug_report.yaml
2022-01-25 18:35:54 +01:00
Seiji Takahashi
af157dac07
feat(react): add refetchOnWindowFocus option to SessionProvider ( #3730 )
2022-01-25 18:06:37 +01:00
Alex Johansson
1bf56a218e
fix: Allow React 18 as peer dependency ( #3728 )
...
Avoid peer dependency warning when using React 18
2022-01-25 18:02:53 +01:00
David Chalifoux
4824f8c02a
fix(providers): Check for valid profile picture response before converting to base64 ( #3656 )
...
* Fix: Add OpenID to authorization scope
* Fix: Check for valid profile picture response before converting to base64
* Update src/providers/azure-ad.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Confirm that profile photo was returned
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-01-20 02:09:04 +01:00
PAKKU-Chan
a4d831d1b9
feat(providers): add authentik provider ( #3625 )
...
* Added authentik provider
* Removed idToken
2022-01-19 01:38:46 +01:00
David Chalifoux
59985264a2
fix(providers): use openid scopes by default ( #3651 )
v4.1.2
2022-01-17 04:28:15 +01:00
Iftekhar Rifat
c844296982
fix: pass csrf & callbackUrl cookies in session api ( #3607 )
v4.1.1
2022-01-17 00:41:16 +01:00
Jon Bellah
d1aa2a1a8e
fix(ts): match GoogleProfile interface with Google docs ( #3643 )
2022-01-17 00:40:23 +01:00
Balázs Orbán
8139126f29
fix(core): detect Vercel without NEXTAUTH_URL ( #3649 )
...
* fix(core): detect Vercel without `NEXTAUTH_URL`
* chore(ts): use `any`
* chore: use `process.env.VERCEL` to detect Vercel
2022-01-17 00:37:30 +01:00
Laxmikanta Nayak
aa0e8200b3
docs: Updated the wrong link to providers list in readme ( #3616 )
...
The link to providers list was 404 so updated to the correct link in document.
2022-01-15 04:44:31 +01:00
Thang Vu
82447f8e3e
fix: display inline errors when using custom error page. ( #3576 )
v4.1.0
2022-01-10 11:57:27 +01:00
Balázs Orbán
a0b3814c81
feat: better out-of-the-box id_token detection ( #3514 )
...
* feat: better out-of-the-box `id_token` detection
* fix: check for `scope` on correct endpoint
* chore: simplify internal typing
2022-01-10 11:50:45 +01:00
Balázs Orbán
90c7d535c0
feat(providers): add support to Twitter OAuth 2.0 ( #3446 )
...
* feat(providers): add support to Twitter OAuth 2.0
* docs: add docs comment
* chore: cleanup
* chore: remove comments
* chore: give warning for OAuth 2 for now
2022-01-10 11:49:43 +01:00
Tetedeiench
0510c9b1ba
feat(providers): add Patreon provider ( #3581 )
...
* Added patreon provider - tested and working
* Update src/providers/patreon.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update src/providers/patreon.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update src/providers/patreon.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update src/providers/patreon.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Switched to TS, restore .env.local, restore package.json as per comments on the PR
* chore: ran Prettier
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-01-10 11:48:11 +01:00
Changsoon Bok
49e4af17e2
fix(providers): refactor naver provider profile ( #3500 )
...
* fix(providers): refactor naver provider profile
fix(providers): refactor naver provider profile
* fix(providers): convert typescript - naver provider profile
fix(providers): convert typescript - naver provider profile
* chore(providers): use nested interface for consistency
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-01-10 11:35:53 +01:00
Changsoon Bok
db65afe5ab
fix(providers): fix url and auth method for Kakao provider ( #3501 )
...
* fix(providers): fix url and auth method for Kakao provider
* fix(providers): convert typescript - Kakao provider
fix(providers): convert typescript - Kakao provider
* chore(providers): use nested interface for consistency
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-01-10 11:31:55 +01:00
Changsoon Bok
36ca1f99e3
docs: update contributing guide link ( #3595 )
2022-01-10 11:22:58 +01:00
Thang Vu
9bec96784f
chore(dev): add postinstall in app to remove next-auth ( #3575 )
2022-01-08 00:43:38 +01:00
Thang Vu
227ff2259f
chore: add eslintIgnore in package.json ( #3548 )
...
* fix: add eslintIgnore in package.json
* Let eslint runs in app, config + js files
* Add a separate tsconfig.eslint.json file
We want to run the lint command on `app`, `src` and `config`, but at the same time want `tsc` to compile files in `src` only. A separate `tsconfig.eslint.json` is a suitable solution to satisfy both `eslint` and `tsc`: 04d1f3e549/packages/parser/README.md
2022-01-05 04:02:03 +01:00
Yves Fridelance
c71cb8457d
fix(oauth): set httpOptions before issuer discovery ( #3537 )
...
* Update client.ts
Set custom.setHttpOptionsDefaults before Issuer.discover(.wellKnown). This allow discover the .wellKnown endpoint behind a proxy
* chore: address code review
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-01-02 00:04:23 +01:00
krautwigundrüben
a09a75be53
fix(providers): make Strava work again ( #3520 )
...
* Update strava.js
Auth with Strava was throwing errors before, this works.
* Update strava.js
changed according to commenters' suggestions
* chore: run linter
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-01-02 00:00:33 +01:00
Balázs Orbán
c4936991e5
chore(app): upgrade dev app dependencies
2021-12-31 00:41:59 +01:00
Thang Vu
e2add6a597
chore(dev): fix start email script ( #3541 )
2021-12-30 22:42:26 +01:00
Adam Kaczmarek
0e8be0c7d2
docs: fix OpenCollective link in README.md ( #3494 )
v4.0.6
2021-12-22 00:42:21 +01:00
Ivan Esteban
d1d2d977fe
fix(providers): use idToken by default in Cognito provider ( #3448 )
2021-12-18 02:21:20 +01:00
Kirankumar Ambati
48749d7320
fix(pages): remove default placeholder for credentials provider ( #3451 )
...
* fix #3449 : removed default placeholder for credentials provider
* fix: formatting
2021-12-18 02:10:05 +01:00
Drew Miller
87d0beb70c
fix(jwt): use authorization header as fallback ( #3453 )
...
If the `req` sent to `getToken` doesn't have the relevant cookies, use
the Bearer token in the Authorization header as a fallback.
Fixes #3452
2021-12-16 13:37:03 +01:00
Balázs Orbán
978e2eeb08
chore(dev): minor fixes on dev app
2021-12-11 21:19:12 +01:00
Balázs Orbán
8ab057ea33
chore(deps): ugprade dependencies ( #3415 )
2021-12-11 21:17:22 +01:00
Bogdan Soare
2c269a6a81
fix(providers): use id_token by default on Okta provider ( #3418 )
2021-12-11 12:52:40 +01:00
Alessandro Cuppari
8b9a109255
fix(providers): refactor FusionAuth to v4 ( #3376 )
...
* feat: updated fusionauth provider
* Updated fusionauth profile interface docstring
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Refactored openid well know logic
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Removed jwks endpoint property
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2021-12-09 21:48:01 +01:00
Etienne Martin
ac35d9f739
docs: Fix README.md typo ( #3412 )
2021-12-09 16:53:17 +01:00
Balázs Orbán
30a0fc6bc0
fix: properly handle callback URL fallback ( #3402 )
...
* fix: don't default to localhost on `host`
* fall back to `host` for `callbackUrl`
* use parsed host
* remove unnecessary type cast
v4.0.5
2021-12-08 18:20:33 +01:00
Balázs Orbán
b0f6175cec
chore(deps): upgrade next dev dependency
2021-12-08 17:50:25 +01:00
Balázs Orbán
1c7fe57edb
fix: default to VERCEL_URL for callbackUrl
v4.0.4
2021-12-08 17:43:49 +01:00
Balázs Orbán
59797bbdef
fix: use VERCEL_URL by default for secureCookie ( #3399 )
v4.0.3
2021-12-08 17:22:57 +01:00
Paul Büchner
9eb78a9de9
chore: fix typo in comment ( #3388 )
2021-12-08 03:07:26 +01:00
Balázs Orbán
2670bbb28f
docs: match docs page wording for SECURITY.md
2021-12-06 21:05:41 +01:00
DmitryScaletta
0431c2a334
fix(ts): improve types for encode/decode functions ( #3346 )
...
* fix: improve types for encode/decode functions
* fix: use Awaitable type for encode/decode functions
2021-12-04 02:09:48 +01:00
Rraji Abdelbari
5ac688cc18
fix(providers): convert 42 School profile id to string ( #3351 )
2021-12-04 02:08:48 +01:00
Anthony Ringoet
8ea75f0c1c
fix(ts): typo in Auth0Profile interface ( #3347 )
2021-12-04 02:06:23 +01:00
dnikomon
4dcdb62dca
fix: remove nextauth from authorization params ( #3332 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
v4.0.2
2021-12-02 19:43:42 +01:00
Nico Domino
1f4b7d8089
chore: add opencollective to package.json ( #3333 )
2021-12-02 12:50:14 +01:00
Balázs Orbán
fedb84872d
docs: add top contributors to package.json
v4.0.1
2021-12-01 16:44:20 +01:00
Balázs Orbán
c0dddfb77f
docs: upgrade README
2021-12-01 16:40:21 +01:00
Balázs Orbán
50fe115df6
Release v4
2021-12-01 16:32:35 +01:00
Jameel Khan
cc17ddf8aa
fix: Fallback to --color-text when no color-brand ( #3313 )
2021-12-01 15:01:11 +01:00
Balázs Orbán
8644e553ed
Merge branch 'main' into beta
2021-11-30 19:20:56 +01:00
Nisala Kalupahana
d1d0db43ea
feat(providers): ensure GitHub provider always gives an email ( #3302 )
...
* Ensure that GitHub provider always gives an email
* Update src/providers/github.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2021-11-29 23:58:49 +01:00