Closed agombault closed 5 years ago
Thanks for the PR @agombault. We should think about how we want to implement this because this functionality could easily be applied to other providers. @ueberauth/developers thoughts on this approach?
@doomspork this is something that @scrogson and I were talking about.
Here is a feedback with this implementation,
You only allow client
and secret
config to be configurable but what happen if tomorrow I want to add for example, extra_fields
to be configurable or any other settings.
We need to find a generic solution as I describe this needs on this ticket https://github.com/ueberauth/ueberauth/issues/51 and should be addressed here https://github.com/ueberauth/ueberauth/issues/61
@ueberauth/core just give me the directions on how we want to go with #51 and #61 and I can tackle even @arjan is interested on contribute.
@agombault ueberauth is getting a major refactoring that will allow you to configure everything better than we do it today.
Just a little patience since it is on development
In some case, we use differents Facebook app with the same backend. Usage of a module helps to compute client_id and client_secret on each callback depending of connections data.