Closed haitamhel closed 6 months ago
this is my config/initializers/omniauth.rb :
Rails.application.config.middleware.use OmniAuth::Builder do provider :google_oauth2, ENV['GOOGLE_CLIENT_ID'], ENV['GOOGLE_CLIENT_SECRET'], redirect_uri: 'http://localhost:8080/platform-integration/google', { prompt: 'select_account', image_aspect_ratio: 'square', image_size: 50, } end
this is my config/initializers/omniauth.rb :