Skip to main content

JavaScript Interface

Android app integration with Drupal for OAuth

When you build Android app for an existing Drupal website which allows it's users to login using their social media account, it is important to include such features in your app as well. Instead of using app specific APIs, we can use WebView to achieve the login mechanism. Let me explain the method that I followed,

1) Setup Drupal menu paths for social login(s).

2) From android app, use webview that can call Drupal path for social login.

3) Drupal side completes the authentication and sends back an identification token to Android.

selvam Fri, 11/28/2014 - 01:40
knackforge blog knowledge base
Subscribe to JavaScript Interface