Auth Provider | Clouded 1.0.0 Help

Social

Start Facebook login

GET method/v1/social/facebook/login-url

Responses

{ "data": "example" }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Get Facebook user profile data

GET method/v1/social/facebook/me/{code}

Request parameters

Responses

{ "data": {} }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Get token by Facebook login

POST method/v1/social/facebook/token

Request parameters

{ "apiKey": "example", "secretKey": "example", "code": "example", "userId": {} }

Responses

{ "data": { "accessToken": { "token": "example", "expires": "1983-08-13T23:33:37Z" }, "refreshToken": { "token": "example", "expires": "1983-08-13T23:33:37Z" } } }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Start Google login

GET method/v1/social/google/login-url

Responses

{ "data": "example" }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Get Google user profile data

GET method/v1/social/google/me/{code}

Request parameters

Responses

{ "data": {} }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Get token by Google login

POST method/v1/social/google/token

Request parameters

{ "apiKey": "example", "secretKey": "example", "code": "example", "userId": {} }

Responses

{ "data": { "accessToken": { "token": "example", "expires": "1983-08-13T23:33:37Z" }, "refreshToken": { "token": "example", "expires": "1983-08-13T23:33:37Z" } } }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Start Apple login

GET method/v1/social/apple/login-url

Responses

{ "data": "example" }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Get Apple user profile data

GET method/v1/social/apple/me/{code}

Request parameters

Responses

{ "data": {} }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }

Get token by Apple login

POST method/v1/social/apple/token

Request parameters

{ "apiKey": "example", "secretKey": "example", "code": "example", "userId": {} }

Responses

{ "data": { "accessToken": { "token": "example", "expires": "1983-08-13T23:33:37Z" }, "refreshToken": { "token": "example", "expires": "1983-08-13T23:33:37Z" } } }
{ "errors": [ { "i18N": "example", "error": "example", "type": "example" } ] }
Last modified: 17 August 2024