This is a migrated thread and some comments may be shown as answers.

authentication in apache cprdova app

1 Answer 55 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
HARDIK
Top achievements
Rank 1
HARDIK asked on 10 Mar 2016, 11:01 AM
Hi , I am developing android app using Apache Cordova (Javascript) template. I want to authenticate my app using facebook login . Please can you help in achieving this
I have achieved the functionality to save and retrieve the data from azure.
Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 14 Mar 2016, 04:52 PM
Hi,

One suggestion for the client-side implementation would be to incorporate in your app the Facebook plugin available in the Telerik Marketplace. With this approach you will incorporate a native-like experience for the user as provided by the native iOS and Android SDKs of Facebook. The recommended way in mobile apps would be the native approach using the plugin.

Subsequently, when the user is authenticated from Facebook from the mobile app, you will need to supply the provided access token from Facebook (obtained via the plugin) to your backend for further validation of the user authentication/authorization.

Please, bear in mind that the Facebook plugin it is not runnable in the Telerik Platform simulator because it uses only native, platform-specific code. It will work only when the app is deployed on a real device as an application package.

I hope that this helps.

Regards,
Anton Dobrev
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apache Cordova
Asked by
HARDIK
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or