splix/grails-spring-security-twitter — Issue #4: Incorrect callback url being generated by default
Author: gotomanners
Created: 2011-12-28 20:37:51+00:00
State: open

The callbackUrl is generated in TwitterAuthTaglib.groovy as follows:

String authFilter = conf.filter.processUrl
String callbackUrl = g.resource(file: authFilter, absolute: true)

Assiuming the app name is AuthModule, this callbackUrl then generated is:

/**AuthModule**alhost: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.