lib/omniauth/strategies/instagram.rb
def authorize_params
        super.tap do |params|
          %w[scope].each do |v|
            params[v.to_sym] = request.params[v] if request.params[v]
            if params[v.to_sym]
              params[v.to_sym] = Array(params[v.to_sym]).join(' ')
            end
          end
        end
      end
# You can pass +scope+ params to the auth request, if you need to set them dynamically.
# You can also set these options in the OmniAuth config :authorize_params option.
#
# For example: /auth/instagram?scope=likes+photos
You can pass +scope+ params to the auth request, if you need to set them dynamically.
You can also set these options in the OmniAuth config :authorize_params option.

For example: /auth/instagram?scope=likes+photos
You can pass + scope + params to the auth request if you need to set them dynamically . You can also set these options in the OmniAuth config : authorize_params option . For example : / auth / instagram?scope = likes + photos
def authorize_params
        super.tap do |params|
          %w[scope].each do |v|
            params[v.to_sym] = request.params[v] if request.params[v]
            if params[v.to_sym]
              params[v.to_sym] = Array(params[v.to_sym]).join(' ')
            end
          end
        end
      end
def authorize_params super . tap do | params | %w[ scope ] . each do | v | params [ v . to_sym ] = request . params [ v ] if request . params [ v ] if params [ v . to_sym ] params [ v . to_sym ] = Array ( params [ v . to_sym ] ) . join ( ' ' ) end end end end
You can pass +scope+ params to the auth request, if you need to set them dynamically.
You can pass + scope + params to the auth request if you need to set them dynamically .