new AppleAdapter(options, authData)
Parse Server Configuration
To configure Parse Server for Apple authentication, use the following structure:
{
"auth": {
"apple": {
"clientId": "12345"
}
}
}
Expected authData
from the Client
The adapter expects the client to provide the following authData
payload:
authData.id
(string, required): The user ID obtained from Apple.authData.token
(string, required): The token obtained from Apple.
Parse Server stores the required authentication data in the database.
Example AuthData from Apple
{
"apple": {
"id": "1234567",
"token": "xxxxx.yyyyy.zzzzz"
}
}
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | Object | Configuration options for the adapter. Properties
| |||||||||
authData | Object | The authentication data provided by the client. Properties
|