I have created my app on Twitter and now I want to user Spring-Social to manage user authorisations.
I follwed this basic tutorial accessing twitter. The REST Server starts up fine, I navigate to host:8080/connect/twitter the default view is rendered. The problem is that when I click the "connect" button I am redirectd back to the connect view and not to twitter.
I ran a POST through fiddler and I get a 302 Location: http://localhost:8080/connect/twitter;jsessionid=XXXXXXX
My application.properties has spring.social.twitter.appId=MY_VALID_ID
spring.social.twitter.appSecret=MY_VAID_SECRET
spring.social.auto_connection_views=true
I would expect to be redirected to twitter for authorisation at this point?
foolishly I had not included a value to the "Callback URL" when registering my app on Twitter. After adding a place-holder URL it is now working fine.
And as to be expected the actual callback URL used is the value submitted as "applicationURL". Thanks, I hope this help someone else.