intercom / omniauth-intercom

Intercom strategy for OmniAuth
MIT License
6 stars 7 forks source link

Allow to customise redirect_url in config #6

Open kant01ne opened 7 years ago

kant01ne commented 7 years ago

Need to allow to customise redirect_url in configs:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :intercom, ENV['INTERCOM_KEY'], ENV['INTERCOM_SECRET'], "https://custom.url/auth/callback"
end
matsimitsu commented 7 years ago

+1, this would make local development a lot less cumbersome.