XAuthProviderOptions

View Source

Summary

Options for creating the built-in X auth provider.

Signature

interface XAuthProviderOptions {
  clientId: string;
  clientSecret: string;
  redirectUri: string | URL;
  scopes?: string[];
}

Properties

clientId

OAuth client identifier for your X application.

clientSecret

OAuth client secret for your X application.

redirectUri

Callback URL registered with X.

scopes

Requested scopes for the X login flow.