From d3e480e44ca8365139a0ff8e21c9061ae17791c8 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 6 Jan 2020 13:22:54 -0700 Subject: [PATCH] Update importer per @DemitryT recommendation See: https://github.com/Diego81/omnicontacts/issues/186#issuecomment-571272805 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 744bd32..1197e68 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ require "omnicontacts" Rails.application.middleware.use OmniContacts::Builder do importer :gmail, "client_id", "client_secret", {:redirect_path => "/oauth2callback", :ssl_ca_file => "/etc/ssl/certs/curl-ca-bundle.crt"} - importer :yahoo, "consumer_id", "consumer_secret", {:callback_path => "/callback"} + importer :yahoo, "client_id", "client_secret", redirect_path: '/contacts/yahoo/contact_callback' importer :linkedin, "consumer_id", "consumer_secret", {:redirect_path => "/oauth2callback", :state => ''} importer :hotmail, "client_id", "client_secret" importer :outlook, "app_id", "app_secret"