The default omniauth pattern is to specify the api keys once in the
application:
config.middleware.use OmniAuth::Builder do
provider :facebook, 'blah', 'something'
end
We would need the keys to change on each incoming request, as each
request could service a different site/domain.
How would you do this? I was thinking that we'd need a Rack
middleware that loads before the omniauth ones. That Rack middleware
would load the correct authentication keys and send that the to the
omniauth middlewares.
Is that possible? Has anyone done something like this before?
Thanks,
Joe
--
You received this message because you are subscribed to a topic in the Google Groups "omniauth" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omniauth/MOlv4IHuMb8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omniauth+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.