authentication in apache cprdova app

2 posts, 0 answers
    HARDIK avatar
    1 posts
    Member since:
    Mar 2016

    Posted 10 Mar Link to this post

    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
  2. Anton Dobrev
    Anton Dobrev avatar
    529 posts

    Posted 14 Mar Link to this post


    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.

    Anton Dobrev

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

Back to Top