spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.
http://projects.spring.io/spring-social
Apache License 2.0
619 stars 351 forks source link

OAuth2AuthenticationService has no applicationUrl support #114

Closed cl4r1ty closed 10 years ago

cl4r1ty commented 11 years ago

Issue: Currently OAuth2AuthenticationService does not support changing the applicationUrl like the ProviderSignInController/ConnectController does.

The request_uri is built purely based on the request, which is mostly fine except for when a server is behind a reverse proxy (nginx, etc). StringBuffer sb = request.getRequestURL();

Suggestion/Fix: Add an applicationUrl variable in the OAuth2AuthenticationService which the request_uri can be built from.