0
votes

I am quite new to Grails and the plugin usage. right now I am trying to build restful services using grails. I need some kind of authentication for user so for that I am using spring-security-facebook plugin for grails. It works very well for all my web pages. but I need to perform <facebookAuth:connect /> operation for an Android application. Is it possible to call spring security facebook plugin's user creation or authentication methods using some kind of restful web service? As right now I am using webview in android app to put the login page in it but it does not give native app feeling.

Any pointers will be useful.

1

1 Answers

0
votes

There are special type of authentication for this: JSON Authentication

In short: you should post Facebook access_token, plugin will authentication FB user (create if nedeed) and respond with JSON containing user details.