fix(deps): update dependency @hono/oauth-providers to ^0.8.0 #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.6.2→^0.8.0Release Notes
honojs/middleware (@hono/oauth-providers)
v0.8.5Compare Source
Patch Changes
#1404
fce74aeda2958faa4d0ed17dfcfe7cbbb74287faThanks @sushichan044! - fix: enable CSRF protection for MSEntra ID authenticationFixed a bug where the state parameter was not being passed to the MSEntra AuthFlow constructor. As a result, CSRF protection now properly works for MSEntra ID authentication, ensuring that authentication requests are protected against Cross-Site Request Forgery attacks.
v0.8.4Compare Source
Patch Changes
1980a66370d4afc8d552ac08bd25af0c87b49112Thanks @mrdear! - fixed github email request content-typev0.8.3Compare Source
Patch Changes
ba19e66f6d086089e15b04bc866c7ebf9cd43409Thanks @rxliuli! - handle refersh_token on googleAuthv0.8.2Compare Source
Patch Changes
e1e8a6626d4a739f40ec1ac97c1671322522bee6Thanks @BarryThePenguin! - Update package repositoryv0.8.1Compare Source
Patch Changes
641fd4c3de6d3248f131a09748f55a9007d7f77cThanks @BarryThePenguin! - Add explicit return typesv0.8.0Compare Source
Minor Changes
cf48336cbd123a45b461caaa41325d2302182901Thanks @BarryThePenguin! - The PR adds Microsoft Entra (AzureAD) to the list of supported 3rd-party OAuth providers.v0.7.1Compare Source
Patch Changes
091b182a6ac1b7bb1129123d3cd0acca5e41b80dThanks @liquidleif! - fix: Update twitter authorization urlv0.7.0Compare Source
Minor Changes
e5f383787c2bd47657f67a99074515eab969963bThanks @Younis-Ahmed! - These chages introduces a Twitch OAuth provider, expanding the middleware's OAuth offerings. It includes a new middleware for Twitch authentication, a dedicatedAuthFlowclass, token refreshing/revocation/validation, and comprehensive type definitions. Detailed tests ensure correct behavior and error handling.Twitch OAuth Middleware
src/providers/twitch/twitchAuth.ts: Implements the core authentication flow, handling state management, redirects, and context variable setting (token,refresh-token,user-twitch,granted-scopes).AuthFlow Class
src/providers/twitch/authFlow.ts: Encapsulates token exchange and user data retrieval, with robust error handling.Token Operations
src/providers/twitch/refreshToken.ts: Provides functions for refreshing and revoking tokens.Type Definitions `src/providers/twitch/types.ts: Defines comprehensive types for Twitch API responses.
Extensive Testing (
test/handlers.ts,test/index.test.ts): Includes unit tests covering redirection, valid code flow, error handling, refresh/revoke token, custom and built-in state scenarios, using a mock server.Validate Token
src/providers/twitch/validateToken: That hit/validateendpoint to verify that the access token is still valid for reasons other than token expiring.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.