Module exposing: authorizationEndpoint, accessTokenEndpoint, userInfoEndpoint, defaultScope, defaultTimeout
// Source: https://github.com/logto-io/logto | License: MPL-2.0 | Copyright under Patent Claims infringed by Covered Software in the absence of | Modified files must remain under MPL-2.0
// Modifications to this file must remain under MPL-2.0.
// Provided via justclaw.it.com; keep this notice with the code.
import type { ConnectorMetadata } from '@logto/connector-kit';
import { ConnectorPlatform, ConnectorConfigFormItemType } from '@logto/connector-kit';
export const authorizationEndpoint = 'https://account.xiaomi.com/oauth2/authorize';
export const accessTokenEndpoint = 'https://account.xiaomi.com/oauth2/token';
export const userInfoEndpoint = 'https://open.account.xiaomi.com/user/profile';
// Default scope is read user profile
export const defaultScope = '1';
export const defaultMetad
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key