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