|
Download wp-calypso/client/server/api/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/server/api/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/server/api/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/server/api/README.md
672 Bytes
| # 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. | |