跳过内容

Apple 登录浏览器

GitHub

Configuring the web login is not trivial. It’s more difficult than setting up Sign in with Apple on iOS but more difficult than setting up Sign in with Apple on Android.

请按照以下指南 这里 来生成服务。

  1. 前往您的服务 ID 配置

    Apple Developer Portal中,导航到 Identifiers > Services IDs 并点击您的服务 ID。

  2. 配置 Sign in with Apple

    点击 Configure 下一个 Sign in with Apple.

    apple_dev_configure_login

  3. 添加 Return URLs

    点击添加新 Return URL 的按钮 + apple_dev_return_url_plus

    添加 Return URLs

  4. 在您的 Web 应用程序中添加您的域名

    注意 Domains and Subdomains.

    然后, https:// 添加您的域名, https://my-app.com 前缀和路径,您将从中调用Apple Login。 例如,如果您的域名是 /login并且您将从 https://my-app.com/login 中调用Apple Login,则应添加

    apple_dev_return_url_add

  5. 保存更改

    1. 点击 Next 按钮保存更改
    2. 点击 Save 按钮保存更改
  6. 您应该准备好测试 JavaScript 登录。请注意,您无法从本地主机测试。

继续从 Apple 登录浏览器

标题:继续从 Apple 登录浏览器

如果您正在使用 Apple 登录浏览器 来规划身份验证和帐户流程,连接它与 使用 @capgo/capacitor-social-login 为本机能力在使用 @capgo/capacitor-social-login @capgo/capacitor-social-login 为实现细节在 @capgo/capacitor-social-login @capgo/capacitor-passkey 为实现细节在 @capgo/capacitor-passkey @capgo/capacitor-native-biometric 为实现细节在 @capgo/capacitor-native-biometric,和 两因素身份验证 关于双因素认证的实现细节。