Using OAuth along with spring security, grails
- by GroovyUser
I have grails app which runs on the spring security plugin. It works with no problem.
I wish I could give the users the way to connect with Facebook and social networking site. So I decided to use Spring Security OAuth plugin. I have configured the plugin.
Now I want user can access both via normal local account and also the OAuth authentication.
More precisely I have a controller like this:
@Secured(['IS_AUTHENTICATED_FULLY'])
def test() {
render "Home page!!!"
}
Now I want this controller to be accessed with OAuth authentication too.
Is that possible to do so?