authorizationEndpoint (src/constant.ts)

logto · packages/connectors/connector-line/src/constant.ts · typescript · MPL-2.0
integration, Integration / API

Module exposing: authorizationEndpoint, defaultScope, accessTokenEndpoint, userInfoEndpoint, 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';

// See https://developers.line.biz/en/docs/line-login/overview/
export const authorizationEndpoint = 'https://access.line.me/oauth2/v2.1/authorize';
export const defaultScope = 'openid profile';
export const accessTokenEndpoint = 'https://api.line.me/oauth2/v2.1/token';
export const userInfoEndpoint = 'https://api.line.me/v2/profile';

ex

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key