File size: 672 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# API

This directory contains API endpoints for the Node.js server that supplements the Calypso application. While most of the application uses the external WordPress.com API, this server is responsible for handling a few specific behaviors.

## Available Endpoints

### Sign in with Apple

The following endpoints are available behind the `sign-in-with-apple/redirect` feature flag:

- **POST `/log-in/apple/callback`**
- **POST `/start/user`**
- **POST `/me/security/social-login`**

These endpoints manage the authentication flow with Apple's services, including token validation, user data processing, and redirection back to Calypso after successful authentication.