With the growing popularity of social networks, more and more mobile apps offer you the ability to login with your social account. Clients love it because of the simplicity if offers. As a
Today, we are announcing this feature as part of our Backend as a Service offering –
Here are the steps to enable authentication with external identity providers for your app.
1) Register your application in Facebook / Google / LiveID. In the registration
2) Go to Everlive's Backend portal, open your Everlive project, and navigate to the Project Settings section. Use the new tab “User authentication” to enable the providers you want.
3) In your
4) After obtaining the access
var
accessToken = {{Facebook access token}};
Everlive.$.Users.loginWithFacebook(accessToken,
function
(data) {
alert(JSON.stringify(data));
},
function
(error){
alert(JSON.stringify(error));
}
);
And you are done. Now your users can log in with their existing Facebook, Google or Live ID accounts and avoid the hassle of a new registration.
The information from the social profile is stored in the user profile. You can see it in the field “
Everlive also supports linking of existing users to their social accounts. In this
var
userId = {{UserId}};
var
accessToken = {{Facebook access token}};
Everlive.$.Users.linkWithFacebook(userId, accessToken,
function
(data) {
alert(JSON.stringify(data));
},
function
(error){
alert(JSON.stringify(error));
}
);
This feature is available for use immediately. Visit the Everlive portal to explore it, and stay tuned for more exciting updates in the upcoming weeks!
Hristo Borisov (@hristoborisov) is currently a product line manager in Telerik leading all cloud technologies part of the Telerik Platform after spending more than 6 years with the company. A passionate advocate of applying lean startup practices to existing organizations, Hristo is on the quest for discovering scalable and sustainable business models through product and customer development using tools like MVPs, Pivots, and Lean Business Model Canvases.