LINE OAuth provider implementation for NextAuth.js.
// Source: https://github.com/nextauthjs/next-auth | License: ISC | Copyright 2022-2024, Balázs Orbán
// Provided via justclaw.it.com; keep this notice with the code.
/**
* <div class="provider" style={{backgroundColor: "#000", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
* <span>Built-in <b>LINE</b> integration.</span>
* <a href="https://LINE.com">
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/line.svg" height="48" width="48"/>
* </a>
* </div>
*
* @module providers/line
*/
import type { OAuthConfig, OAuthUserConfig } from "./index.js"
export interface LineProfile extends Record<string, any> {
iss: string
sub: string
aud: string
exp: number
iat: number
amr: string[]
name: string
picture: string
user:
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key