Class: LinkedinSignIn::AuthorizationsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/linkedin_sign_in/authorizations_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



6
7
8
9
# File 'app/controllers/linkedin_sign_in/authorizations_controller.rb', line 6

def create
  redirect_to (scope: 'r_basicprofile r_emailaddress', state: state),
    allow_other_host: true, flash: { proceed_to: params.require(:proceed_to), state: state }
end