# useApple LoginTo configure

use wx.appleLogin The following configuration needs to be completed.

# I. Development Platform Console

to access Apple To log in, you first need to get the following information from the Apple developer website:

  • Team ID: Information that uniquely identifies an Apple developer
  • Bundle ID: Information that uniquely identifies an Apple app
  • Key ID: Private key ID
  • Private Key: Private key

Developers can follow the following steps:

# 1. Obtain Team ID

Log in with your Apple Developer account Membership Page, get the Team ID (Must be a certified and paid developer)

# 2. Obtain Bundle ID

Go to the Apple Developer page, in the Certificates,Identifiers & Profiles > Identifiers Page, click on the icon to create the app

Choice App IDs Then click Continue The button continues.

Select the application type of the format and click Continue The button continues.

Fill out the application description and Bundle ID, please record this Bundle ID

Scroll to the browser below to find Sign in with Apple And tick

Last Click Continue Button Creation Application

# 3. Obtain Key ID and Private Key

Go toApple Developer Page, In Certificates,IDs, & Profiles > Keys Tab Page, click on the icon

Enter name and check on Sign in with Apple, click Configure, making sure that the selected Primary App ID The one you just created.

to hit Save, Continue, and finally click Register

After creation, get Key ID, and click on the Download Download this key

Open the download key, and record the contents of it in the format

-----BEGIN PRIVATE KEY -----
xxxxxx 
xxxxxx 
xxxxxx 
xxxxxx 
-----END PRIVATE KEY -----

# 4. Configure Identity Management Console Information

Open the development platform console and select Multiterminal Identity Management -> Specify the application -> Apple Log in. Will be held in "Preliminary Preparation" Recorded in the Bundle ID、Team ID、Key ID and Private Key Fill and save.

# II. Developer Tools

After the above console configuration is complete, you need to open the project.miniapp.json Check the box to use IdaasSDK

![](https://res.wx.qq.com/op_res/cQsSj -- IJG9pjMcNbjsSKTa9Pznw42VArxmb7dMqntSfYAmELBCIxhPrSCZGmo2T-hu6yZTb5HoXcLIDy6qonA )

# III. Cloud Construction

Apple login capabilities, currently only supported in Certificate signature Under use. Note: During the signing process, the use of the .mobileprovision The document needs to be in the Sign in with Apple The ability to generate in the environment.