Class: StandardId::Api::Oauth::Callback::ProvidersController

Inherits:
BaseController show all
Includes:
SocialAuthentication
Defined in:
app/controllers/standard_id/api/oauth/callback/providers_controller.rb

Instance Method Summary collapse

Instance Method Details

#appleObject



14
15
16
17
# File 'app/controllers/standard_id/api/oauth/callback/providers_controller.rb', line 14

def apple
  expect_and_permit!([], [:id_token, :code, :state, :flow])
  handle_social_callback("apple")
end

#googleObject



9
10
11
12
# File 'app/controllers/standard_id/api/oauth/callback/providers_controller.rb', line 9

def google
  expect_and_permit!([], [:id_token, :code])
  handle_social_callback("google")
end