Reviewers

Assignees

Labels

Projects

Milestone

3 participants

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.

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.