How to change route of omniauth from /auth/:provider to /myapp/auth/:provider
omniauth, ruby-on-rails, ruby-on-rails-3
Solution
You can change it via `:setup` option
Source: https://github.com/omniauth/omniauth/blob/e9978e377f1ac2b7271e5a8486dfe103a1c1d48d/lib/omniauth/strategy.rb#L304-L307
Problem
How can I change the route that triggers omniauth from using /auth/:provider to /myapp/auth/:provider ? I don't want to redirect either, because my server will send anything that's not in /myapp/ to the wrong place.