[PR #6263] [MERGED] feat: Add Refresh Token Support to Kick OAuth Provider #23453

Closed
opened 2026-04-15 21:43:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6263
Author: @CesarRodrigu
Created: 11/24/2025
Status: Merged
Merged: 12/9/2025
Merged by: @Bekacru

Base: canaryHead: canary


📝 Commits (3)

  • 39b46dc feat: add refreshAccessToken function on kick provider
  • 00d92a7 Merge pull request #1 from CesarRodrigu/feat/kick-refresh-access-token
  • e52b0e6 Merge branch 'canary' into canary

📊 Changes

1 file changed (+17 additions, -1 deletions)

View changed files

📝 packages/core/src/social-providers/kick.ts (+17 -1)

📄 Description

This pull request adds support for refreshing OAuth access tokens to the Kick social provider integration. The main change is the introduction of a refreshAccessToken method, allowing consumers to easily refresh tokens using either a custom implementation or a built-in default.

OAuth token refresh support:

  • Imported refreshAccessToken from ../oauth2 to enable token refresh functionality in the Kick provider.
  • Added a refreshAccessToken method to the Kick provider, which uses a custom implementation if provided, or defaults to a built-in function that handles the token refresh flow using the Kick OAuth endpoint.

With this update, applications using the provider can now rely on automatic token refresh when an access token has expired, matching the behavior of other OAuth providers in the project.


Summary by cubic

Adds refresh token support to the Kick OAuth provider so apps can automatically renew expired access tokens. This brings Kick in line with other OAuth providers.

  • New Features

Written for commit e52b0e696e. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6263 **Author:** [@CesarRodrigu](https://github.com/CesarRodrigu) **Created:** 11/24/2025 **Status:** ✅ Merged **Merged:** 12/9/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (3) - [`39b46dc`](https://github.com/better-auth/better-auth/commit/39b46dcf0619bc8bfd1be7929f6aa6dbebf12064) feat: add refreshAccessToken function on kick provider - [`00d92a7`](https://github.com/better-auth/better-auth/commit/00d92a72e190c066ff91d9b97861a15437e36bff) Merge pull request #1 from CesarRodrigu/feat/kick-refresh-access-token - [`e52b0e6`](https://github.com/better-auth/better-auth/commit/e52b0e696e4b8e5fa9fdec139790878f63c490df) Merge branch 'canary' into canary ### 📊 Changes **1 file changed** (+17 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/social-providers/kick.ts` (+17 -1) </details> ### 📄 Description This pull request adds support for refreshing OAuth access tokens to the Kick social provider integration. The main change is the introduction of a `refreshAccessToken` method, allowing consumers to easily refresh tokens using either a custom implementation or a built-in default. **OAuth token refresh support:** * Imported `refreshAccessToken` from `../oauth2` to enable token refresh functionality in the Kick provider. * Added a `refreshAccessToken` method to the Kick provider, which uses a custom implementation if provided, or defaults to a built-in function that handles the token refresh flow using the Kick OAuth endpoint. With this update, applications using the provider can now rely on automatic token refresh when an access token has expired, matching the behavior of other OAuth providers in the project. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds refresh token support to the Kick OAuth provider so apps can automatically renew expired access tokens. This brings Kick in line with other OAuth providers. - **New Features** - Added refreshAccessToken method with an optional custom override. - Default flow uses https://id.kick.com/oauth/token with clientId/clientSecret. <sup>Written for commit e52b0e696e4b8e5fa9fdec139790878f63c490df. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 21:43:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#23453