From 1e5a812ac79fd392e1930667a9d886a17fe13a55 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 9 Oct 2024 13:39:12 -0400 Subject: [PATCH] fix: tiktok should follow the same config naming convention --- playground/.env.example | 2 +- src/runtime/server/lib/oauth/tiktok.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/.env.example b/playground/.env.example index a12b96a5..27b3ee1e 100644 --- a/playground/.env.example +++ b/playground/.env.example @@ -66,7 +66,7 @@ NUXT_OAUTH_VK_CLIENT_SECRET= NUXT_OAUTH_YANDEX_CLIENT_ID= NUXT_OAUTH_YANDEX_CLIENT_SECRET= # TikTok -NUXT_OAUTH_TIKTOK_CLIENT_KEY= +NUXT_OAUTH_TIKTOK_CLIENT_ID= NUXT_OAUTH_TIKTOK_CLIENT_SECRET= # Dropbox NUXT_OAUTH_DROPBOX_CLIENT_ID= diff --git a/src/runtime/server/lib/oauth/tiktok.ts b/src/runtime/server/lib/oauth/tiktok.ts index af4b7ffe..d8c7b0f1 100644 --- a/src/runtime/server/lib/oauth/tiktok.ts +++ b/src/runtime/server/lib/oauth/tiktok.ts @@ -10,7 +10,7 @@ import type { OAuthConfig } from '#auth-utils' export interface OAuthTikTokConfig { /** * TikTok Client Key - * @default process.env.NUXT_OAUTH_TIKTOK_CLIENT_KEY + * @default process.env.NUXT_OAUTH_TIKTOK_CLIENT_ID */ clientKey?: string