splix / grails-facebook-authentication-example

Grails 2.0 Spring Security Facebook Plugin Example
12 stars 14 forks source link

Sometimes it does not work #1

Closed xmly closed 11 years ago

xmly commented 12 years ago

GIve this error msg : URI /s2-facebook-example/ Class java.lang.IllegalStateException Message No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.

splix commented 12 years ago

Oh, yes, it's common grails 2.0 problem, happens when "something wrong", can't say what :( Make sure that you have properly configured your Facebook App credentials.

PS Anyway, I'll take a look

gotomanners commented 12 years ago

I'm having the same issue on Grails 2.0 and the newly released 2.0.1! I don't think its a credentials issue because same credential configuration works in my other project with the previous version of the plugin.

xmly commented 12 years ago

Update the resource plugin. I solved this problem by doing that.

arubalcaba commented 12 years ago

yeah if you update the resource plugin it works

thecarlos commented 11 years ago

Hi folks, trying to make this work on 2.0.4. Did a grails upgrade on the app, then did all of the spring-security installs, updated the resources plugin to 1.2-RC1, no dice. Still seeing the error as above, under the same circumstances.

Any ideas, please?