Thang Vu
|
68ff69f9eb
|
chore: upload turbo cache (#8128)
* Update index.ts
* Revert "Update index.ts"
This reverts commit f494291c7385d50e5e8cba65258893925808fa43.
* try this
* Update release.yml
* Update release.yml
* try
* Update turbo.json
* Update release.yml
* Update README.md
* Revert "Update README.md"
This reverts commit a5e56687e0bb60fcefb6c7a2f36d7135fb365e61.
* Update pnpm-workspace.yaml
|
2023-07-25 22:31:20 +07:00 |
|
Thang Vu
|
48b9a0203e
|
chore: dev environment clean up
|
2023-07-23 14:13:31 +07:00 |
|
Thang Vu
|
866e42b343
|
chore: revert to latest dependencies for examples
|
2023-01-10 21:05:06 +07:00 |
|
Thang Vu
|
c441f681af
|
chore: don't use latest for examples dependencies
|
2023-01-10 13:37:51 +07: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 |
|
Balázs Orbán
|
9d6f54539d
|
chore: simplify eslint linting
|
2022-12-24 03:10:03 +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 |
|
Balázs Orbán
|
b157554a5f
|
chore: move
|
2022-12-13 21:33:27 +01:00 |
|
Thang Vu
|
b5e1b19771
|
feat(frameworks): Introduce SvelteKit Auth (#6041)
* 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
* upgrade/add dependencies
* type and default import on one line
* don't import all adapters by default in dev
* simplify internal endpoint config
Instead of passing url and params around as a string and an object,
we parse them into a `URL` instance.
* assert if both endpoint and issuer config is missing
* allow internal redirect to be `URL`
* mark clientId as always internally, fix comments
* add web-compatible authorization URL handling
* fix type
* fix neo4j build
* remove new-line
* reduce file changes in the PR
* simplify types
* refactor `crypto` usage
In Node.js, inject `globalThis.crypto` instead of import
* add `next-auth/web`
* refactor
* send header instead of body to indicate redirect response
* fix eslint
* fix tests
* chore: upgrade dep
* fix import
* refactor: more renames
* wip core
* support OIDC
* remove `openid-client`
* temprarily remove duplicate logos
* revert
* move redirect logic to core
* feat: add sveltekit auth
* wip fix css
* revert Logo component
* output ESM
* fix logout
* deprecate OAuth 1, simplify internals, improve defaults
* refactor providers, test facebook
* fix providers
* target es2020
* fix CSS
* fix AuthHandler, add getServerSession
* update lock file
* make logos optional
* sync with `next-auth`
* clean up `next-auth/edge`
* sync
* Sync (#2)
* fix(core): properly construct url (#5984)
* chore(release): bump package version(s) [skip ci]
* fix(core): add protocol if missing
* fix(core): throw error if no action can be determined
* test(core): fix test
* chore(release): bump package version(s) [skip ci]
* chore(docs): add new tutorial (#5604)
Co-authored-by: Nico Domino <yo@ndo.dev>
* fix(core): handle `Request` -> `Response` regressions (#5991)
* fix(next): don't override `Content-Type` by `unstable_getServerSession`
* fix(core): handle `,` while setting `set-cookie`
* chore(release): bump package version(s) [skip ci]
* fix(sequelize): increase sequelize `id_token` column length (#5929)
Co-authored-by: Nico Domino <yo@ndo.dev>
* 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
* 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
* chore(release): bump package version(s) [skip ci]
* update lock file
* fix(next): correctly bundle next-auth/middleware
fixes #6025
* 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
* chore(release): bump package version(s) [skip ci]
* make logos optional
* sync with `next-auth`
* clean up `next-auth/edge`
* sync
Co-authored-by: Balázs Orbán <balazsorban44@users.noreply.github.com>
Co-authored-by: Thomas Desmond <24610108+thomas-desmond@users.noreply.github.com>
Co-authored-by: Nico Domino <yo@ndo.dev>
Co-authored-by: Cyril Perraud <perraud.cyril@gmail.com>
* merge
* clean up sveltekit auth handler
* upgrade playground to latest
* upgrade sveltekit auth to latest
* Some more refactoring
* feat: extract type to core and reuse in sveltekit
* remove uuid
* make secret required in dev
* remove todo comments
* pass through OAuth client options
* generate declaration map
* default env secret to AUTH_SECRET
* temporary Headers fix
* move pages to lib
* move errors to lib
* move pages/index to lib
* move routes to lib
* move init to lib
* move styles to lib
* move types to lib
* move utils to lib
* fix imports
* update ignore/clean patterns
* fix imports
* update styles ts
* update gitignore
* update exports field
* revert `next-auth`
* remove extra tsconfig files
* remove `private` from package.json
* revert
* feat sveltekit
* commit
* remove unused file, expose type
* remove nextauth_url, memoize locals.getSession
* move to dependency
* fix
* format
* fix post build
* simplify
* fix lock file
* add packages/frameworks
* update package.json
* update gitignore
* Delete .gitignore
* Update types.ts
* Update tsconfig.dev.json
* skip test
* format
* skip format/lint
Co-authored-by: Balázs Orbán <info@balazsorban.com>
Co-authored-by: Balázs Orbán <balazsorban44@users.noreply.github.com>
Co-authored-by: Thomas Desmond <24610108+thomas-desmond@users.noreply.github.com>
Co-authored-by: Nico Domino <yo@ndo.dev>
Co-authored-by: Cyril Perraud <perraud.cyril@gmail.com>
|
2022-12-13 20:10:53 +00:00 |
|
Balázs Orbán
|
092ab9c128
|
chore: update release script
|
2022-12-13 18:01:45 +01:00 |
|
Thang Vu
|
4f29d39521
|
chore: move to pnpm (#4420)
* feat: pnpm
* Update publish script
* gitignore the pnpm debug log
* Fix workspace
* Fix dev commands
* feat: pnpm
* Update publish script
* gitignore the pnpm debug log
* Fix workspace
* Fix dev commands
* chore: fix pnpm install in GitHub Action
* fix: update tsconfig path
* pnpm run -> pnpm
* chore: remove cache-node and add back setup-node
* fix: tsconfig dependencies
* chore: fix tsconfig path
* fix: adapter-test dependencies
* fix: setup-node for release-pr
* fix: import adapter-test
* chore: update workspace dependency for next-auth
* fix: test failure
* fix: add jest for adapters
* fix: jest again
* fix: mongo in prisma
* fix: `--no-git-checks` for `release-pr`
Co-authored-by: Balázs Orbán <info@balazsorban.com>
|
2022-05-03 15:05:55 +02:00 |
|