コンテンツにスキップ
NextAuth.js v4 からの移行ですか? こちらを読んでください 移行ガイド.

providers/zoom

組み込みの Zoom 統合。

ZoomProfile

参照: https://developers.zoom.us/docs/integrations/oauth/#using-an-access-token

拡張

プロパティ

account_id

account_id: string;

created_at

created_at: string;

dept

dept: string;

email

email: string;

first_name

first_name: string;

group_ids

group_ids: string[];

host_key

host_key: string;

id

id: string;

im_group_ids

im_group_ids: string[];

jid

jid: string;

language

language: string;

last_client_version

last_client_version: string;

last_login_time

last_login_time: string;

last_name

last_name: string;

personal_meeting_url

personal_meeting_url: string;

phone_country

phone_country: string;

phone_number

phone_number: string;

pic_url

pic_url: string;

pmi

pmi: number;

role_name

role_name: string;

status

status: string;

timezone

timezone: string;

type

type: number;

use_pmi

use_pmi: boolean;

vanity_url

vanity_url: string;

verified

verified: number;

default()

default(config): OAuthConfig<ZoomProfile>

Zoom ログインをページに追加します。

セットアップ

コールバック URL

https://example.com/api/auth/callback/zoom

構成

import { Auth } from "@auth/core"
import Zoom from "@auth/core/providers/zoom"
 
const request = new Request(origin)
const response = await Auth(request, {
  providers: [
    Zoom({ clientId: ZOOM_CLIENT_ID, clientSecret: ZOOM_CLIENT_SECRET }),
  ],
})

リソース

注意

デフォルトでは、Auth.js は Zoom プロバイダーが OAuth 2 仕様に基づいていると想定します。

💡

Zoom プロバイダーには、デフォルト構成が付属しています。ユースケースに合わせてデフォルトをオーバーライドするには、組み込みの OAuth プロバイダーのカスタマイズを確認してください。

免責事項 デフォルト構成にバグがあると思われる場合は、問題を提起できます。

Auth.js は仕様を厳密に遵守しており、プロバイダーによる仕様からの逸脱について責任を負うことはできません。問題を提起することはできますが、問題が仕様への非準拠である場合、解決を追求しない可能性があります。ディスカッションでさらにヘルプを求めることができます。

パラメーター

パラメータータイプ
configOAuthUserConfig<ZoomProfile>

戻り値

OAuthConfig<ZoomProfile>

Auth.js © Balázs Orbán およびチーム -2024