1

Integration with FaceBook and Twitter using the spring-social plugin are working properly locally, but when I deploy to production, both stop to work. No errors found at the log file catalina.out under Tomcat7.

Error is happening after I inform my password in Facebook, after that, Facebook is redirecting to an invalid page:

[my domain here]/ssconnect/facebook?code=AQC04UTDdGWFHR9AndhLf9hFzNE1pBgFlAzcYpmvFDwy6WkVDKuVxlcnbGi3TumBD2Jj3zVUVwaMOcDhfZ0PzfI1saAdS1cB5swafkrrYwMaczggC8wFpk09kkJJKB-whNwImyr427yBncFWF5QaZ_OgeJ22k9lRSZXJ4Kwl0avhfuRUr8Pni6LC-Cj4g_ZKRmA

Grails 1.3.7 spring-social-core 0.1.31 spring-social-facebook 0.1.31

I'm looking into this class: SpringSocialConnectController

Does anyone have any clue?

4

1 回答 1

1

最后我发现了问题。这根本不是插件的错误(也许可以改进异常处理),这是我这边的错误配置,请参阅:

Config.groovy 的变化:

从:

grails.serverURL = "http://mydomain.com"

至:

grails.serverURL = "http:// www .mydomain.com/ [我的子域] "

  • 请注意,“www”在这里有所不同。

之后,工作!

于 2012-01-10T04:13:52.837 回答