Social Login What is social login?

Social Login Free Service

What is social login?

RUBYMAGE SOCIAL LOGIN is a free service that allows user authentication via almost all known social networks and identity providers. It is very easy and simple to integrate with any application or website.

Quick Example

Your app must initiate a redirect to RUBYMAGE social-login endpoint which in turn will redirect the user to the chosen provider and will display the login dialog:

https://rubymage.com/api/v1/social-login/?
provider=facebook&
redirect_uri=https://rubymage.com/docs/v1/social-login/example-callback/

Why social login

group

Your Customers

Social Login makes it easy for consumers to register and grant your business access to the first-party identity data you need to deliver relevance and drive ROI across channels and campaigns.

flash_on

Speeds up development

Get up and running quickly with a simple, unified API that aggregates the different technologies used by each of the social networks. RUBYMAGE eliminates the need to install libraries, maintain direct integrations with each social network, or become an expert in identity protocols such as OpenID and OAuth.

trending_up

Your Marketing Team

Higher registration rates and better understanding of your customers, with access to highly accurate social data points.

Supported identity providers

More coming soon ...

Logical flow

The below chart goes over the logical flow of the SOCIAL LOGIN service and the process for retrieving data from the Social Providers.

1. Display the Social Login interface on your page.

2. Once a user has selected the Social Provider they would like to use they will be prompted to input their credentials in an authentication interface that is managed by the Social Providers. Permission to access their data will also happen at this time.

3. After successful authentication the interface will return a specific access token to your Server.

4. Request User Profile data or extended data like Groups and Contacts via the RUBYMAGE Social APIs. If the user has granted permissions you can also message friends or do Push Notifications.

5. All of the API endpoints return normalized responses in JSON format.

API details

Definition

Your app must initiate a redirect to RUBYMAGE social-login endpoint which in turn will redirect the user to the chosen provider and will display the login dialog:

https://rubymage.com/api/v1/social-login/?
provider=:provider&
redirect_uri=https://yourdomain.com/callback

Parameters

Parameter Values Description
provider Identity Provider Required. Available values: facebook, google, yahoo, twitter, odnoklassniki, amazon, instagram, linkedin, vkontakte, windowslive, paypal, tumblr, yandex, mailru
redirect_uri One of the redirect_uri values listed for this app in the RUBYMAGE Account. It must be URL encoded Required. Determines where the response is sent. The value of this parameter must exactly match one of the values listed for this app in the RUBYMAGE Account (including the http or https scheme, case, and trailing '/').

Response

The callback request will contain code parameter.

https://yoursite.com/callback/?code=:code

Try It Out


Get user profile

Definition

In context of Social Login you can get user profile data by making a request to user's endpoint with the code parameter you received on the previous step.

GET https://rubymage.com/api/v1/users/?code=:code

Response

200 OK
Content-Type: application/json
{ "id" : "3273102058988270", "displayName" : "Sergiu Ghenciu", "name" : { "familyName" : "Ghenciu", "givenName" : "Sergiu", "middleName" : null }, "gender" : "male", "emails" : [ { "value" : "1024gs@gmail.com" } ], "provider" : "facebook" }

Try It Out


Tags

#amazon #amazon connect #amazone login #amazon social login #login with amazone #facebook #facebook connect #facebook login #facebook social login #login with facebook #google #google connect #google login #google plus #google social login #login with google #odnoklassniki #odnoklassniki connect #odnoklassniki login #odnoklasniki login #odnoklassniki social login #login with odnoklassniki #ok #ok login #ok social login #twitter #twitter connect #twitter login #twitter social login #login with twitter #yahoo #yahoo login #yahoo connect #yahoo social login #login with yahoo Linkedin #Linkedin connect #Linkedin login #Linkedin social login #login with Linkedin #login via Linkedin #Instagram #Instagram connect #Instagram login #Instagram social login #login with Instagram #login via Instagram #PayPal #PayPal connect #PayPal login #PayPal social login #login with PayPal #login via PayPal #Tumblr #Tumblr connect #Tumblr login #Tumblr social login #login with Tumblr #login via Tumblr #Windows #microsoft #Windows Live connect #Windows live login #Windows social login login with Windows live login via Windows live #Vkontakte #Vkontakte connect #Vkontakte login #Vkontakte social login #login with Vkontakte #login via Vkontakte #Авторизация через ВКонтакте #Аутентификация через ВКонтакте #Yandex #yandex connect #yandex login #yandex social login #login with yandex #login via yandex #Аутентификация через Яндекс #Авторизация через Яндекс #social login #auto user registration #auto-login #autologin #captcha #capture social data #login #login radius #login with amazon #login with facebook #login with google #login with openid connect #login with twitter #loginradius #multisite #oauth #floating buttons #online identity #openid #openid connect #openid connect sso #openid integration #single sign-on #social api #social app #social authentication #social connect #social network login #unified api #unified login api #unified social login #social provider #social sign-in #user auto register #user profile data

Get user

var code = request.getParameter("code");

Request

GET https://rubymage.com/api/v1/users/?code=:code

Response

Please wait...
200 OK
Content-Type: application/json