Grails social plugins for facebook give error response after user authenticate application -


i new grails , trying add facebook plugin web application. have successfully(as believe) installed plugins , added necessary code in application. followed documentation found @ http://splix.github.io/grails-spring-security-facebook/ , when run app see facebook connect button on gsp page,after clicking on connect button popup opens asking permissions required in app , when user clicks on allow button receive error "no authentication provider found". dont know wrong ,can 1 me please.

thanks in advance

you have custom list of providers:

grails.plugins.springsecurity.providernames = [ 'myauthenticationprovider',     'anonymousauthenticationprovider',      'remembermeauthenticationprovider']  

and none of them supports facebookauthtoke, spring security cannot authenticate using facebook authentication plugin.

if need have custom provider, put original provider list:

grails.plugins.springsecurity.providernames = [ 'myauthenticationprovider',     'facebookauthprovider',      'anonymousauthenticationprovider',     'remembermeauthenticationprovider']  

Comments