app/controllers/oauth/jira/authorizations_controller.rb
def new
    session[:redirect_uri] = params['redirect_uri']

    redirect_to oauth_authorization_path(client_id: params['client_id'],
                                         response_type: 'code',
                                         redirect_uri: oauth_jira_callback_url)
  end
# 1. Rewire Jira OAuth initial request to our stablished OAuth authorization URL.
1. Rewire Jira OAuth initial request to our stablished OAuth authorization URL.
1 . Rewire Jira OAuth initial request to our stablished OAuth authorization URL .
def new
    session[:redirect_uri] = params['redirect_uri']
    redirect_to oauth_authorization_path(client_id: params['client_id'],
                                         response_type: 'code',
                                         redirect_uri: oauth_jira_callback_url)
  end
def new session [ :redirect_uri ] = params [ 'redirect_uri' ] redirect_to oauth_authorization_path ( client_id : params [ 'client_id' ] , response_type : 'code' , redirect_uri : oauth_jira_callback_url ) end
1.
1 .