mattupstate/spring-social-foursquare-example — Issue #3: Application fails on oauth2 callback
Author: norbertpotocki
Created: 2011-11-29 00:00:22+00:00
State: open

Steps to reproduce:

- clone repository (with my patch applied: https://github.com/mattupstate/spring-social-foursquare-example/pull/2)
- run "mvn tomcat:run"
- browse to: http://localhost:8080/spring-social-foursquare-example/signin
- click "sign in with foursquare" button
- accept connection request on foursquare page

Result:
- you are redirected to: http://localhost:8080/spring-social-foursquare-example/signin/foursquare?code=xxx...
- there's an 400 http error:

HTTP Status 400 -
type Status report
message
description The request sent by the client was syntactically incorrect ().
Apache Tomcat/6.0.29

Expected:
- redirect to some correct result page