TTWrite API: Social Login (OAuth)
Endpoint URL
//ttwrite.4up.eu/mobile_api/oauth
Description
This API allows users to log in using social login providers via OAuth 2.0. Supported providers may include platforms like Google, Facebook, or Apple.
Parameters
Field | Value | Remarks |
---|---|---|
provider | string | The social login provider (e.g., google , facebook , apple ). |
access_token | string | The OAuth 2.0 access token received from the provider. |
user_id | string | Optional. The user ID provided by the social login provider. |
Example Usage
httpCopy codePOST //ttwrite.4up.eu/mobile_api/oauth
Content-Type: application/json
{
"provider": "google",
"access_token": "ya29.A0AR...",
"user_id": "123456789"
}
Notes
- Authentication is handled via the OAuth 2.0 standard using the access token provided by the social login provider.
- Ensure the
provider
value matches one of the supported social platforms. - The
access_token
must be validated by the social provider before use.
admin December 9, 2024 Apple login API, Facebook login API, login endpoint TTWrite, login with Facebook API, login with Google API, OAuth 2.0 access token, OAuth 2.0 authentication, OAuth 2.0 login TTWrite, OAuth access token API, OAuth login TTWrite, OAuth user login, social authentication API, social login API, TTWrite API, TTWrite Google login, TTWrite OAuth endpoint, TTWrite social authentication, TTWrite social login providers, user authentication OAuth API, Social Media, TTWrite Comments Off on TTWrite API: Social Login (OAuth)