Here's how it all works:
<
telerikCloudControls:RadCloudLogin
x:Name
=
"cloudLogin"
SuccessNavigationUri
=
"/MainPage.xaml"
>
<
telerikCloudControls:RadCloudLogin.LoginProviders
>
<
telerikCloudControls:FacebookLoginProvider
ClientId
=
"<facebook-app-id>"
ClientSecret
=
"<client-secret>"
/>
</
telerikCloudControls:RadCloudLogin.LoginProviders
>
</
telerikCloudControls:RadCloudLogin
>
Before continuing with the Social Login implementation, make sure you have enabled the Social Login support from the settings menu within your Everlive project.
The XAML snippet above shows how the Facebook login is enabled in RadCloudLogin. The ClientId and ClientSecret are values that you should provide to RadCloudLogin after registering your Facebook app you will use to authenticate your users with. Here's how the control will look like in this case:
Tapping on the Facebook icon will automatically open a Web Browser, navigate to the Facebook login page, ask your users for certain permissions your Facebook app requires and, in case of successful authentication, go back to the LoginControl where a login attempt will be made. And that happens without even a single line of code from your side.
Check out the upgraded RadCloudLogin in the latest RadControls for Windows Phone Q3 2013 package and let us know what you think!