Apple 登录秘钥生成器

快速生成 Sign in with Apple 所需的 Client Secret (JWT)。

Algorithm: ES256Privacy: Client-Side Only

开发者配置参数

180

注:Apple 限制 client_secret 最长有效期为 180 天。

生成结果 (Client Secret)

等待输入参数以自动生成

使用指南与资源

获取 Apple 开发者文档

了解如何验证 ID Token 和 Authorization Code

如何获取配置参数?

1. Team ID:在开发者账号的 "Membership Details" 中查看。
2. Key ID & .p8:在 "Keys" 页面生成,下载后用记事本打开 .p8 文件获取内容。

Claims 校验规范

  • iss您的 Team ID
  • sub您的 Client ID
  • audhttps://appleid.apple.com

Command Palette

Search for a command to run...