Balázs Orbán
ee36d09a08
chore: drop Legacy from naming everywhere
2023-06-01 19:05:44 +02:00
Balázs Orbán
0cb7fd2e7c
feat: introduce @auth/typeorm-adapter ( #7706 )
...
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/typeorm-legacy-adapter": "0.0.0",
+ "@auth/typeorm-adapter": "0.0.0",
```
And run `npm install`, `yarn install` or `pnpm install` respectively.
**Note:** This packages is published as ESM-only
2023-06-01 17:52:11 +01:00
Balázs Orbán
2ecf52c342
feat: introduce @auth/prisma-adapter ( #7703 )
...
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/prisma-adapter": "0.0.0",
+ "@auth/prisma-adapter": "0.0.0",
```
And run `npm install`, `yarn install` or `pnpm install` respectively.
**Note:** This packages is published as ESM-only.
2023-06-01 16:06:22 +02:00
Balázs Orbán
cda07c239e
chore: remove "nuxt postinstall"
2023-06-01 15:17:58 +02:00
Robert Soriano
8b3f0696a5
chore(playgrounds): Nuxt 3.5.1 ( #7626 )
...
* bump Nuxt to 3.5.1
* follow playground package names
* chore: update nuxt playground scripts
* fix: imports and types
* fix: more nuxt type imports
* fix: nuxt auth options types
* fix: nuxt client fetch types
2023-06-01 14:49:45 +02:00
Nirmalya Ghosh
ce85444760
chore: Move next.config.js file into the correct directory ( #7580 )
...
fix: moves next config file into the correct directory
2023-06-01 14:49:45 +02:00
Rémi Robichet
28f287d63e
docs(example): update broken link ( #7504 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2023-06-01 14:49:45 +02:00
Balázs Orbán
83d8b447db
chore: clean up Next.js example
2023-04-28 09:50:44 +02:00
Balázs Orbán
98add24526
chore: bump react types
2023-04-21 12:25:48 +02:00
Balázs Orbán
9eeea02fe2
feat: redirect proxy ( #7326 )
...
* types
* add `redirectProxy` option
* ignore if no state
* empty commit
* tweak proxy detection
* add origin proxy check to checks
* run randomstate decode
* don't generate state data when no proxy
* ignore next-2
* update dev app
* clarify `UnknownAction` error
* rename to `AUTH_REDIRECT_PROXY_URL`
* simplify state
* clear todos
* cleanup
* clarify comment
* use `InalidChecks` error
* simplify
* clarify errors
* add debug logger to redirect proxy
* add proxy redirect logger
* don't throw error when no origin on proxy
* fix redirect_uri in callback
* add docs/guide
* sort imports
* docs: rephrase
2023-04-20 09:53:44 +01:00
Balázs Orbán
da821d2789
chore: cleanup todos, format
2023-04-19 10:40:42 +02:00
Balázs Orbán
be5c42e350
Merge branch 'main' of github.com:nextauthjs/next-auth
2023-04-19 10:36:50 +02:00
Balázs Orbán
b68f461f8b
chore: upgrade next
2023-04-19 10:35:34 +02:00
Thang Vu
fa58065951
chore: move next-auth from v4 to main ( #7265 )
2023-04-15 17:02:46 +01:00
Balázs Orbán
3dd47b0735
docs(example): remove unstable_ prefix
2023-03-31 05:01:58 +02:00
Abdulaziz Askaraliev
d7888263ca
fix(providers): update Yandex to TypeScript ( #7054 )
...
* fix(providers): yandex add typescript.
* fix(providers): yandex add avatar to scope
* fix(providers): Yandex - add types & avatar scope
* fix(providers): Yandex - permissions list
* Apply suggestions from code review
* Apply suggestions from code review
* docs(provider): added comments for
* revert yandex.ts from next-auth/providers/
* fix(providers): yandex fix typo
* revert
* Update [...nextauth].ts
* Update yandex.ts
* Update yandex.ts
* Update [...nextauth].ts
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-27 00:38:06 +01:00
Balázs Orbán
8f6108f230
docs: fix Mermaid rendering, lock gatsby playground versions
2023-03-21 18:54:10 +01:00
Will
99ac4899b5
feat(providers): add Beyond Identity Provider ( #6013 )
...
* Add Beyond Identity Provider
* Add Beyond Identity OIDC Provider
* Add Beyond Identity OIDC Provider
* Add "pkce" support
* Mirror Auth0 instead of Okta
* Code Review feedback
2023-02-23 11:04:21 +07:00
Lioness100
5981712681
fix: address typos ( #6701 )
...
* docs: fix typos
* revert: typo fixes in packages/next-auth
2023-02-13 12:51:54 +00:00
Balázs Orbán
e9d8805609
docs: api reference restructure ( #6608 )
2023-02-04 15:39:12 +01:00
Thang Vu
a5e0db4bb3
feat(providers): add Notion provider ( #6567 )
...
* add notion provider along with logo and styles
"
* adjust notion documentation
* update issue template with Notion provider
* update docs and provider with code from TomYeoman
* feat: move Notion provider to core
* get it working
---------
Co-authored-by: Harrison Broadbent <harrisonbroadbent@gmail.com >
Co-authored-by: Harrison Broadbent <harrisonbroadbent@Harrisons-MacBook-Air.local >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-01-31 17:10:47 +07:00
Balázs Orbán
3f89e668ec
fix(ts): mark options provider config option internal ( #6564 )
...
* chore(dev): use workspace modules in Svelte app
* fix(ts): mark `options` provider config option internal
2023-01-30 12:34:54 +00:00
Thang Vu
b4d6ed5f5f
feat(providers): add Asgardeo provider ( #6452 )
...
* implement asgardeo auth provider
* Import asgardeo provider in to providers
* Improve provider configuration
* simplify and improve the asgardeo provider
* Delete package-lock.json
* converted server origin to organization
* revamp provider configs
* update profile interface
* Remove asgardeo issuer parameter and add docs
* fixed docs
* Update asgardeo.md
* Update docs and provider branding
* Remove mistakenly added code from dev app
* move to core
* Delete asgardeo.md
Co-authored-by: Yathindra <yathindrarawya123@gmail.com >
Co-authored-by: Yathindra Kodithuwakku <32919513+yathindrakodithuwakku@users.noreply.github.com >
Co-authored-by: Yathindra Kodithuwakku <32919513+yathindrak@users.noreply.github.com >
2023-01-22 01:30:42 +07:00
Thang Vu
87d9cc4244
feat: e2e tests ( #6380 )
...
* feat: e2e test init
* run e2e test on CI
* Add credentials to ci
* Update pnpm-lock.yaml
* move test to dev
* add dotenv
* remove in examples
* add e2e command
* revert
* add output cache for turbo e2e
* correct path for upload artifact
* Update release.yml
2023-01-18 19:43:50 +07:00
Thang Vu
866e42b343
chore: revert to latest dependencies for examples
2023-01-10 21:05:06 +07:00
Ben
2377596bb6
chore(examples): avoid prefetch of non-existing routes in SvelteKit ( #6351 )
...
Avoid prefetch of non-existing routes
This avoids prefetch of the /auth/signin and /auth/signout virtual links as they do not exist in sveltkit routes
2023-01-10 11:56:25 +00:00
Thang Vu
c441f681af
chore: don't use latest for examples dependencies
2023-01-10 13:37:51 +07:00
Balázs Orbán
3539a35601
chore: trigger sync
2023-01-07 09:52:33 +01:00
Ikko Eltociear Ashimine
95c8f7930e
chore: Fix typo in solid-start/README.MD ( #6305 )
2023-01-07 07:47:30 +01:00
Balázs Orbán
5cf580d10b
chore(examples): clean up example READMEs, add deploy buttons
2023-01-05 11:18:01 +01:00
Thang Vu
5884574765
chore(dev): simplify header.js component
2023-01-04 21:53:55 +07:00
Balázs Orbán
394920dfd4
chore(examples): prefer useSession over prop drilling
...
closes #5891
2023-01-03 16:07:37 +01:00
Birk Skyum
7d4d436efe
chore(examples): fix broken docs link in solidstart example ( #6241 )
2022-12-31 21:28:17 +01:00
Balázs Orbán
f1475955ea
chore: solidstart -> solid-start
2022-12-31 11:53:29 +01:00
Balázs Orbán
054288316b
chore(examples): rename solid-start to solidstart
2022-12-31 11:31:47 +01:00
OrJDev
287c8f0f91
feat(solid-start): introduce @auth/solid-start package/example ( #6158 )
...
* feat: add solid framework package and example
* solidstart docs
* Update 02-oauth-tutorial.mdx
* minor docs fixes
* Fix sidebar typo
* Update sync.yml
* Update sidebars.js
* minor fixes
* fix deps
* upgrade auth example
* Update root.tsx
* Update NavBar.tsx
* Update Protected.tsx
* protected
* move example
* Update sidebars.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-12-31 10:15:31 +00:00
Thang Vu
4aec142525
chore: split apps to dev, examples, playgrounds ( #6228 )
...
* chore: dev -> dev/nextjs
* chore: move to /examples
* chore: move to playgrounds, add dev/sveltekit
* Update sync.yml
* chore: dev scripts
2022-12-31 07:17:42 +00:00
1337cookie
2e52a89c52
docs: fix links to moved docs ( #6196 )
2022-12-27 16:10:31 +01:00
Thang Vu
ae57199258
chore(examples): unify /protected path behavior for Sveltekit and N… ( #6176 )
...
chore(examples): unify `/protected` path behavior for Sveltekit and Next.js
2022-12-25 17:56:10 +07:00
Balázs Orbán
955e379330
chore: format
2022-12-25 05:59:12 +01:00
Balázs Orbán
137d993a13
chore(dev): upgrade next
2022-12-24 17:15:35 +01:00
Balázs Orbán
65defc709e
chore(examples): change to named import
2022-12-24 15:14:06 +00:00
Balázs Orbán
e47c3c81f1
chore: format
2022-12-24 01:47:46 +01:00
Nico Domino
0ea9ada3a9
chore(docs): remaining authjs.dev and repo clean up ( #6097 )
2022-12-22 18:04:52 +01:00
Balázs Orbán
b8d83f52b3
chore(examples): attempt to fix gatsby deployment
2022-12-22 05:42:26 +01:00
Balázs Orbán
7dacfbabf0
chore(examples): attempt to fix gatsby deployment
2022-12-22 04:41:20 +01:00
Balázs Orbán
6c45abf383
feat(core): improved logging / renames / new exports ( #6085 )
...
- Cleans up logging. Logs are now color-coded, added more debug logs, and errors can include some simple metadata (like provider id) to know which provider caused an issue.
- All errors are exposed via `@auth/core/errors`. Each error has a URL like: https://errors.authjs.dev#errorcode in the terminal, which points to the documentation explaining the problem in detail, suggesting a fix.
- Added a bunch of documentation that autogenerates the pages under https://authjs.dev/reference/core/modules/main
- Renames `AuthHandler` to `Auth` and `AuthOptions` to `AuthConfig`
- Throwing an error in `signIn` callback will now be caught as a general error and will redirect to `/error?error=Configuration`. If the callback returns `false`, it will redirect to `/error?error=AccessDenied`.
2022-12-22 02:36:54 +00:00
Balázs Orbán
8b5644453b
docs: set up API reference generation
2022-12-17 14:26:14 +01:00
Balázs Orbán
84291d3e81
chore: fix formatting and linting
2022-12-16 15:57:55 +01:00
Robert Soriano
1e6daa8304
chore(examples): use @auth/core in Nuxt playground ( #6081 )
...
* nuxt: rewrite server handler to use @auth/core
* nuxt: fix main tsconfig
* nuxt: remove unused module
* nuxt: update client and server ports
* nuxt: remove iframe style
* nuxt: update readme
2022-12-16 02:47:44 +00:00