Enabling multi-domain callback support and override of the callbackUrl method #10

Open
wants to merge 1 commit into
from

Projects

None yet

3 participants

@alexander-codebase

As discussed on forum, submitting the changes related to enabling multi-domain callback support and override of the callbackUrl method. Changes should not affect original functionality if an absolute URL is used as applicationUrl for the bean, but they allow callback URLs to be formed depending on the current domain name if the relative URL has been used instead.

http://forum.springsource.org/showthread.php?109571-Callbacks-and-multihomed-hosts

@alexander-codebase alexander-codebase Enabling multi-domain callback support and override of the callbackUr…
…l method
1e0178b
@frangz
frangz commented Aug 17, 2011

Hi Alexander!

We are having the same issue you had with multi-domains.

One question: what if you need a Facebook/Twitter app for each domain? FacebookConnectionFactory and TwitterConnectionFactory receive the app keys on construction, so they should be changed to resolve the keys to use depending on the requested URL.

Did you have this problem?
Kind regards.

@pivotal-issuemaster

@alexander-codebase Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment