Closed gotomanners closed 12 years ago
So, what URL did you get?
What do you mean with /AuthModulealhost
?
I'm not sure how AuthModulealhost
is being generated, but its part of the invalid url.
Here i've attached a Screenshot of the invalid url.
As for the configuration, everything is the default setting except for consumer key, secret and popup.
Hm, thats weird :(
What you have for link generated by: <g:createLink controller="ctrl" action="action" absolute="true">test</g:createLink>
?
<g:createLink controller="ctrl" action="action" absolute="true">test</g:createLink>
resolves to
http://localhost:8080/AuthModule/ctrl/action
I was on previously on Resources 1.1.5. Upgrading to Resources 1.1.6 seems to have resolved this issue.
Ok, that's good. I also had have an another issue with Resources plugin.
The callbackUrl is generated in TwitterAuthTaglib.groovy as follows:
Assiuming the app name is AuthModule, this callbackUrl then generated is:
/AuthModulealhost:8080/AuthModule/j_spring_twitter_security_check
So after authenticating with Twitter, an attempt is made to redirect back to this url, which never resolves.