Supplies KOOK OAuth endpoint, scope, timeout, and connector metadata used to configure the provider's sign-in flow.
// 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 { ConnectorConfigFormItemType, ConnectorPlatform } from '@logto/connector-kit';
/**
* Base authorization URL.
* https://developer.kookapp.cn/doc/oauth2
*/
export const authorizationEndpoint = 'https://www.kookapp.cn/app/oauth2/authorize';
/**
* Token endpoint.
* https://developer.kookapp.cn/doc/http/oauth#%E8%8E%B7%E5%8F%96AccessToken
*/
export const accessTokenEndpoint = 'https://www.kookapp.cn/api/oauth2/tok
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key