Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 12, 2025

This PR contains the following updates:

Package Change Age Confidence
@hono/oauth-providers (source) ^0.6.2^0.8.0 age confidence

Release Notes

honojs/middleware (@​hono/oauth-providers)

v0.8.5

Compare Source

Patch Changes
  • #​1404 fce74aeda2958faa4d0ed17dfcfe7cbbb74287fa Thanks @​sushichan044! - fix: enable CSRF protection for MSEntra ID authentication

    Fixed 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.4

Compare Source

Patch Changes

v0.8.3

Compare Source

Patch Changes

v0.8.2

Compare Source

Patch Changes

v0.8.1

Compare Source

Patch Changes

v0.8.0

Compare Source

Minor Changes

v0.7.1

Compare Source

Patch Changes

v0.7.0

Compare Source

Minor Changes
  • #​981 e5f383787c2bd47657f67a99074515eab969963b Thanks @​Younis-Ahmed! - These chages introduces a Twitch OAuth provider, expanding the middleware's OAuth offerings. It includes a new middleware for Twitch authentication, a dedicated AuthFlow class, 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 /validate endpoint 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update dependency @hono/oauth-providers to ^0.7.0 fix(deps): update dependency @hono/oauth-providers to ^0.8.0 May 16, 2025
@renovate renovate bot force-pushed the renovate/hono-oauth-providers-0.x branch from 8b02e9a to e9ecf8f Compare May 16, 2025 02:52
@renovate renovate bot force-pushed the renovate/hono-oauth-providers-0.x branch 2 times, most recently from 9caa21d to fc58bec Compare August 12, 2025 07:46
@renovate renovate bot force-pushed the renovate/hono-oauth-providers-0.x branch from fc58bec to 29bd99a Compare August 24, 2025 04:13
@renovate renovate bot force-pushed the renovate/hono-oauth-providers-0.x branch from 29bd99a to 79c2657 Compare October 21, 2025 10:33
@renovate renovate bot force-pushed the renovate/hono-oauth-providers-0.x branch from 79c2657 to 7a28556 Compare November 10, 2025 13:53
@renovate renovate bot force-pushed the renovate/hono-oauth-providers-0.x branch from 7a28556 to 333b40f Compare December 31, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant