OAuth2 provider callback endpoint (form_post)
POST /signin/provider/{provider}/callback
Handles OAuth2 provider callbacks using form_post response mode. Used by providers like Apple that send data via POST instead of query parameters.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The name of the social provider
Request Body required
Section titled “Request Body required ”OAuth2 provider callback data including authorization code, ID token, and state
object
Authorization code provided by the authentication provider
ID token provided by the authentication provider
State parameter to avoid CSRF attacks
JSON string containing user information (only provided on first authentication with Apple)
Error message if authentication failed
Detailed error description if authentication failed
URI with more information about the error
Responses
Section titled “ Responses ”Redirect to client application after successful authentication
Headers
Section titled “Headers ”URL to redirect to
default
Section titled “default ”An error occurred while processing the request
Standardized error response
object
HTTP status error code
Example
400Human-friendly error message
Example
Invalid email formatError code identifying the specific application error