Commit Graph

16 Commits (d4cc24f75432195dce1a5a02b207e581c121e89c)

Author SHA1 Message Date
Danial Hanif 7585969171
fix(auth-js): use HonoRequest.blob() instead of HonoRequest.raw.body() (#1170)
* fix(auth-js): use HonoRequest.blob() instead of HonoRequest.raw.body()

* lint fix and format fix

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-05-17 11:17:28 +09:00
Yusuke Wada 7a401b0850
chore: use the latest eslint and `@hono/eslint-config` (#904)
* chore: use the latest eslint and `@hono/eslint-config`

* update codes
2024-12-25 18:08:43 +09:00
Jee 9a2cf452c7
fix(auth-js): fix cloned request causing request body to be unavailable in middleware (#806) 2024-11-06 14:37:59 +09:00
Divyam ed31c680f7
fix(auth.js): clone request directly for bun (#790)
* fix(auth.js): clone request directly for bun

* added popup login hook

* update README.md
2024-10-24 18:41:16 +09:00
Divyam c19b51baaf
refactor(auth-js): session provider (#775)
* refactor: session provider

* format
2024-10-21 07:23:51 +09:00
Maksim 3d78fa470d
fix(auth-js): remove config.basePath (#752)
* remove config.basePath

* ⬆️ (auth-js): update @auth/core dependency from version ^0.30.0 to ^0.35.3 for latest features and bug fixes
 (index.test.ts): add basePath to config for consistency in authentication tests
♻️ (index.test.ts): correct code style inconsistencies for better readability and maintainability

* update yarn.lock
2024-10-05 12:40:14 +09:00
divyam234 19f3beae1a
fix(auth-js): Fix immutable headers error in x-forwarded request (#614)
* fix: immutable headers error in x-forwarded req

* added changeset
2024-07-04 14:07:21 +09:00
divyam234 eb7e597aaa
fix(auth-js): bun req cloning (#598) 2024-07-01 09:57:02 +09:00
divyam234 d5ebee9c70
fix(auth-js): handle x-forwarded headers to detect auth url (#549)
* fix: handle  x-forwarded headers to detect auth url

* added changeset
2024-05-29 01:18:18 +09:00
divyam234 300ef2f8bf
fix(auth-js): react package work with ssr (#494) 2024-05-04 11:42:10 +09:00
Yusuke Wada 18959557f4
fix(auth-js): use `env` in `hono/adapter` and add tests (#486)
* fix(auth-js): use `env` in `hono/adapter` and add tests

* add changeset

* polyfill crypto
2024-04-30 17:25:05 +09:00
DIYgod b8fb9a06c1
fix(auth-js): AUTH_URL not working in getAuthUser (#481)
* fix(auth-js): AUTH_URL not working in getAuthUser

* chore(auth-js): add changeset
2024-04-29 13:49:15 +09:00
DIYgod 5004ca9c5b
fix(auth-js): env AUTH_URL not working (#478)
* fix(auth-js): env AUTH_URL not working

* test(auth-js): add reqWithEnvUrl test case

* chore: add changeset
2024-04-26 10:57:56 +09:00
Yusuke Wada e8b494b207
chore: add lint rule and format (#367)
* chore: add lint rule and format

* fix ci

* add typescript

* yarn install

* add `@cloudflare/workers-types`
2024-01-29 22:53:43 +09:00
divyam234 4ccda19d31
fix(auth-js): Update @auth/core version and set default basePath (#359)
* Update @auth/core version and set default basePath

* update changeset
2024-01-27 22:15:06 +09:00
divyam234 f9859e8fa7
added auth.js middleware (#326)
* added next-auth middleware

* fix react types

* code cleanup and improve tests

* renamed to authjs

* added example in readme

* Update README.md

* options to set dynamic base paths , urls and credentials in fetch

* update readme

* update readme

* Update README.md

* fix typos and set correct origin for local development
2023-12-29 04:30:25 +09:00