Commit Graph

54 Commits (cf3c17e3d17f5b3d04b79586a7b497926c996693)

Author SHA1 Message Date
github-actions[bot] d4cc24f754
Version Packages (#1206)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-09 19:05:17 +09:00
Jonathan Haines 641fd4c3de
refactor(oauth-providers): enable isolated declarations (#1201) 2025-06-09 18:33:23 +09:00
Yusuke Wada 5c3f61f889
feat(zod-validator): update peerDependency to Zod `^3.25.0` and fix the types (#1180)
* feat(zod-validator): update peerDependency to Zod ^3.25.0 and fix type compatibility

* add changeset
2025-05-30 10:40:47 +09:00
Jonathan Haines 7a45d5749d
ci(oauth-providers): set publish config access to public (#1168) 2025-05-16 09:38:35 +09:00
github-actions[bot] 8fafbc1d4d
Version Packages (#1167)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-16 07:42:31 +09:00
Jonathan Haines cf48336cbd
feat(oauth-providers): Add MSEntra OAuth Provider (#1163)
Co-authored-by: Tim Barley <barleyco@gmail.com>
2025-05-16 07:38:53 +09:00
Yusuke Wada b9fa57530a
chore: format codes (#1142) 2025-04-27 19:28:24 +09:00
Jonathan Haines 1fd8ebf9b6
feat(eslint-config): enable linting with type information (#1098) 2025-04-07 19:31:09 +09:00
github-actions[bot] f349fba499
Version Packages (#1101)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-03 23:23:22 +09:00
liquidleif 091b182a6a
fix(oauth-providers): Update twitter authorization url (#1099)
Closes #1100

* Update twitter authorization url

The twitter authorization URL is outdated.

* add a changeset
2025-04-03 23:18:24 +09:00
Jonathan Haines e8512f0ee9
build: typescript project references (#1077)
* build: typescript project references

* chore: remove duplicate keys
2025-04-02 18:28:02 +09:00
Shotaro Nakamura 519404ad2c
fix(node-ws): adapter shouldn't send buffer as a event (#1094)
* fix(node-ws): adapter shouldn't send buffer as a event

* chore: changeset
2025-04-01 21:35:45 +09:00
Jonathan Haines b18f24379b
chore(dev-deps): upgrade to hono v4 (#1092)
* chore(dev-deps): upgrade to hono v4

* chore(zod-openapi): build workspace dependencies

* chore(trpc-server): ignore null body type
2025-03-31 18:20:57 +09:00
Jonathan Haines 4f9bb1dd8e
test: move tests to src directory (#1075)
* test(react-renderer): move tests to src directory

* test: move tests to src directory

* test: ensure vitest-pool-workers is installed at the root
2025-03-28 18:50:19 +09:00
Yusuke Wada 33c3faae59
chore: update the lockfile (#1072) 2025-03-27 11:34:20 +09:00
Jonathan Haines 8424b1d420
build(oauth-providers): lint published package (#1053) 2025-03-27 11:30:17 +09:00
Jonathan Haines 783a082c12
chore: add coverage badges (#1023)
* chore: add coverage badges

* ci(casbin): fix spelling
2025-03-19 17:53:11 +09:00
github-actions[bot] e394e64ea5
Version Packages (#1014)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-12 17:59:11 +09:00
Younis e5f383787c
feat(oauth-providers): Add Twitch OAuth Provider (#981)
* feat(twitch): Add type definitions for Twitch OAuth scopes

* feat(twitch): Add additional type definitions for Twitch moderator scopes

* feat(twitch): Add IRC and PubSub-specific chat scopes to types

* feat(twitch): Add new type definitions for Twitch API responses

* feat(twitch): Add new user-related scopes for Twitch API

* feat(twitch): Add type definitions and import paths for Twitch provider

* feat(twitch): Implement Twitch OAuth handlers and response types for mock api

* feat(twitch): Add revokeToken function to handle OAuth token revocation

* feat(twitch): Add Twitch OAuth middleware mocks and tests

* feat(twitch): Implement Twitch OAuth authentication flow and user data retrieval

* feat(twitch): Add custom state handling for Twitch OAuth middleware

* docs(twitch): Update README with Twitch OAuth integration details

* docs: Update Twitch API reference link for scopes in README

* fix(twitch): Remove error handling for error_description in auth flow

* refactor(twitch): Update token handling and response types for refresh and revoke

* feat(twitch): Add token validation function for Twitch OAuth

* feat(twitch): Add token validation handler and update response types

* docs: Add token validation section to README for Twitch integration

* chore(oauth-providers): changesets summary

* fix(twitch): make redirect_uri optional in twitchAuth options

* refactor(twitch): clean up commented code and improve test assertions

* refactor(twitch): improve type assertions for JSON responses

* refactor(twitch): update type assertion for JSON response handling

* semver amendment

Changed version from patch to minor

* docs: update README with token validation instructions for Twitch

---------

Co-authored-by: Younis-Ahmed <23105954+jonaahmed@users.noreply.github.com>
2025-03-12 17:55:47 +09:00
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