Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
Guides
Development Integration
Application integration
Old Version
Development Integration
  • Single Sign-On (SSO)
  • Login component

  • JavaScript/Node.js

  • Java / Kotlin

  • Python

  • C#

  • PHP

  • Go

  • Ruby
  • Android

  • iOS

    • Quick start
    • Auth Flow
    • APIs

    • Third-party identity source

      • Wechat
      • Apple
      • Google
      • Facebook
      • Wechat Miniprogram
      • Tencent
      • Sina Weibo
      • Baidu
      • LinkedIn
      • Github
      • Gitee
      • GitLab
      • Xiaomi
      • WeCom
      • Lark
      • DingTalk
      • Line
      • Slack
    • Typical scene

    • On-premise
    • WebAuthn
    • Error Code List
  • Flutter

  • React Native
  • WeChat Mini Program
  • WeChat webpage authorization
  • Framework Integration
  • Error code
  1. Development Integration
  2. /
  3. iOS
  4. /
  5. Third-party identity source
  6. /
  7. Apple

¶ Login by apple

Update Time: 2025-05-14 08:32:28
Edit

¶ Configuring an Apple Account

First login to the Apple developer website, and then refer to here for configuration:The detailed steps


¶ Initialize Guard SDK

Introduce Guard dependencies through Swift Package Manager and call the initialization function. The detailed steps


¶ Sign in with Apple

¶ Initiate Apple certification

With the semantic Hyper Component we provide, you only need to place one in the xib:

AppleLoginButton

If you want to implement the whole process by your own, right after you get auth code, please call this API to get Authing user info:

func loginByApple(_ code: String, completion: @escaping(Int, String?, UserInfo?) -> Void)

Parameter

  • authCode auth code from apple

Example

AuthClient().loginByApple(authCode) { code, message, userInfo in
    if (code == 200) {
        // userInfo
    }
}
Prev: Wechat Next: Google
  • Configuring an Apple Account
  • Initialize Guard SDK
  • Sign in with Apple
  • Initiate Apple certification

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.