Most of rails projects handled by nginx. Internally, all urls in rails app comes http-only. Nginx does other job to provide https links.
So now, I can't force https protocol in redirect_uri. In omniauth, there is OmniAuth.config.full_host option (facebook strategy use it).
Maybe it's better to do the same?
Most of rails projects handled by nginx. Internally, all urls in rails app comes http-only. Nginx does other job to provide https links. So now, I can't force https protocol in redirect_uri. In omniauth, there is
OmniAuth.config.full_host
option (facebook strategy use it). Maybe it's better to do the same?