{"library":"apple-signin-auth","type":"library","category":null,"description":"`apple-signin-auth` is a Node.js library designed to simplify server-side implementation of Apple's 'Sign in with Apple' authentication flow. It provides a comprehensive API for generating authorization URLs, securely creating and managing client secrets (JSON Web Tokens), and exchanging authorization codes obtained from Apple for user access and refresh tokens. The package is currently at version 2.0.0, which mandates Node.js 18 or newer due to its adoption of native `fetch`. The library demonstrates a moderately active release cadence, with recent updates focusing on modernizing its codebase and enhancing resilience. Its key strengths lie in abstracting the complexities of direct interaction with Apple's REST API, handling JWT client secret generation, supporting `code_verifier` for enhanced security, and providing a clear, developer-friendly interface for the complete Apple Sign-in process on backend applications.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","apple","signin","login","auth","authentication","node","jwt","es6","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install apple-signin-auth","imports":["import appleSignin from 'apple-signin-auth';","import { getAuthorizationUrl } from 'apple-signin-auth';","import { getClientSecret } from 'apple-signin-auth';","import { getAuthorizationToken } from 'apple-signin-auth';"]},{"cmd":"yarn add apple-signin-auth","imports":[]},{"cmd":"pnpm add apple-signin-auth","imports":[]}],"homepage":null,"github":"https://github.com/a-tokyo/apple-signin-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/apple-signin-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/apple-signin-auth/compatibility"}}