Commit Graph

35 Commits (4d67af162fbdaa75484eccae5dc4fad44ff2dab0)

Author SHA1 Message Date
Jonathan Haines 4d67af162f
test(workspace): upgrade to vitest v3 (#1009)
* test(workspace): upgrade to vitest v3

Fixes #1007

* chore(standard-validator): add vitest type to `tsconfig.json`

* chore: update `yarn.lock`

* chore(zod-openapi): bump `typescript`

* chore(typia-validator): make it ESM

* ci(bun-transpiler): fix Bun to v1.1.32

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-12 12:52:15 +09:00
Jonathan Haines 0c24e85798
test(oauth-providers): use node 20.x in CI (#1004)
Fixes #1003
2025-03-06 07:33:42 +09:00
Jonathan Haines 5ea7fb5d09
chore: Migrate workspaces that use `jest` to `vitest` (#998)
* docs(contributing): add section on testing

Fixes #994

* test(clerk-auth): replace jest with vitest

* test(graphql-server): replace jest with vitest

* test(medley-router): replace jest with vitest

* test(oauth-providers): replace jest with vitest

* test(oidc-auth): replace jest with vitest

* test(sentry): replace jest with vitest

* test(trpc-server): replace jest with vitest

* test(typebox-validator): replace jest with vitest

* test(typia-validator): replace jest with vitest

* test(valibot-validator): replace jest with vitest

* chore: cleanup remaining references to jest

* chore: fix lint errors

* test(typia-validator): fix exclude directory

* test(oauth-providers): use vitest environment miniflare

* chore: update `yarn.lock`

* chore(zod-openapi): pin zod-validator to 0.4.2

* test(graphql-server): remove console filtering

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-04 22:00: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
github-actions[bot] 9506e3c424
Version Packages (#778) 2024-10-12 15:39:11 +09:00
Shotaro Nakamura 40e3a780d1
fix(oauth-providers): support latest hono (#662)
* fix(oauth-providers): support latest hono

* chore: add changeset

* change major to patch
2024-10-12 15:35:14 +09:00
github-actions[bot] 9443cb018a
Version Packages (#698) 2024-08-19 09:27:07 +09:00
Taishi Naritomi c3b67a6c3b
fix(@hono/oauth-providers): Added missing URL parameters prompt, login_hint, and access_type in the Google OAuth provider. (#697)
* fix: google provider attach custom parameters

* fix format

* Create rare-fishes-sort.md
2024-08-19 09:23:23 +09:00
github-actions[bot] ab1b831e1a
Version Packages (#654) 2024-07-19 18:12:29 +09:00
Wang Guan e54c628751
feat(oauth-providers): allow custom redirect_uri (#601)
* oauth-providers: allow set of redirect_uri

* only check state in req with auth code

* update readme.md

* add changeset file

* update readme

* run lint:fix

* add test

* test other providers

* revent unreleated test
2024-07-19 07:43:18 +09:00
github-actions[bot] ea7ec3c6ed
Version Packages (#592) 2024-06-25 05:07:12 +09:00
Wang Guan 69eca66e4d
fix(oauth-providers): oauth-middleware: load `env.SECRETS` with hono/adapter (#588)
* load env with hono/adapter

* add changeset

* update changeset type
2024-06-25 05:02:46 +09:00
github-actions[bot] 650e20fab5
Version Packages (#506) 2024-05-07 05:48:38 +09:00
Carlos Sanjines Aldazosa 42e75f07dc
Get email with github token (#505)
* Get email with github token

* Changeset added
2024-05-07 05:38:37 +09:00
github-actions[bot] 7e5e3de28f
Version Packages (#469) 2024-04-22 08:11:19 +09:00
Aaron Ware 65418948ab
feat(oauth-providers): Allow passing state in google oath middleware (#454)
* improve(#453): Allow for state to be passed to AuthFlow

* fix(#453): No need to cast as string

* chore(#453): Create changeset

Closes #453

* fix(#453): Needed to take CSRF into account
2024-04-22 08:08:03 +09:00
github-actions[bot] 6bdbf88854
Version Packages (#425) 2024-03-20 14:57:56 +09:00
Carlos Sanjines Aldazosa cef4be898a
fix(oauth-providers): OAuth Providers Github App email problem (#421)
* [UPDATE (OAuth Providers): Github] request emails if Github App

* changlog

* [FIX: changeset] minor bump instead patch bump
2024-03-20 14:37:16 +09:00
Kunal Singh 9b455b5408
docs(oauth-providers): caution does not work when indentation, so using simple warning. (#401)
* caution does not work when indentation, so using simple warning.

* ci: update actions/checkout and actions/setup-node to v4 (#399)

* fix: glitch when using CAUTION with indentation

* highlited not and client secret
2024-02-20 21:10:12 +09:00
github-actions[bot] e4b6d4dfb9
Version Packages (#397) 2024-02-16 16:49:10 +09:00
Yusuke Wada 98cffb0ae9
fix(oauth-providers): update `peerDependencies` (#396)
* fix(oauth-providers): update `peerDependencies`

* run `yarn` command

* changeset
2024-02-16 16:40:36 +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
github-actions[bot] 965d5a3f6d
Version Packages (#346) 2024-01-08 05:26:18 +09:00
Carlos Sanjines Aldazosa 8841b6427d
feat(oauth-providers): Discord (#342) 2024-01-08 05:22:20 +09:00
Yusuke Wada ee12e3c08a
chore: bump hono to `3.11.7` (#311) 2023-12-14 18:33:01 +09:00
Yusuke Wada a03e133d42
chore: setup prettier (#301)
* changeset

* chore: setup prettier
2023-12-13 17:31:25 +09:00
Yusuke Wada bd18b966ee
chore: migrate to `yarn v4` (#299)
* changeset

* chore: migrate to `yarn v4`

* remove changeset

* fixed Github Actions for `hello`

* fix gitignore

* add dependencies

* add ci for oauth-providers

* add dependencies

* add `publint`

* update msw
2023-12-13 15:54:00 +09:00
github-actions[bot] 954069dabe
Version Packages (#295) 2023-12-09 09:20:14 +09:00
Carlos Sanjines Aldazosa aa9527b9e7
feat(oauth-providers): Add X (Twitter) to OAuth providers (#283)
* [FEAT] x (Twitter) provider

* [UPDATE] replace crypto-js with native api

* [UPDATE] Remove unused dependencies
2023-12-09 09:18:12 +09:00
github-actions[bot] d8300e5cc7
Version Packages (#281) 2023-11-29 06:31:20 +09:00
David Flanagan 14443cc255
fix: redirect url for github apps (#280) 2023-11-29 06:27:04 +09:00
David Flanagan cfaa80a9e7
fix: ensure state is passed through for both github app types (#279) 2023-11-29 05:34:49 +09:00
github-actions[bot] b0adaab247
Version Packages (#277) 2023-11-28 06:43:11 +09:00
github-actions[bot] c5dd9ab52a
Version Packages (#266) 2023-11-27 21:38:00 +09:00
Carlos Sanjines Aldazosa d2696c46ba
Oauth providers (#262)
* [FEAT] facebook and google authentication

* [FEAT] github authentication

* [FEAT] linkedin authentication

* [TEST] all methods tested

* [UPDATE] open-auth middleware split

* [UPDATE] auth packages merged into oauth-provider

* docs: format README

* fix: fix `package.json`, prettify, rename something

* fix: use `ContextVariableMap`

* docs: update README

* make it as a minor release

* [FIX: linkedin] path name

* [UPDATE: linkedin] pathname

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-11-27 21:33:31 +09:00