# Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ class OmniAuth::Strategies::GoogleOauth2Database < OmniAuth::Strategies::GoogleOauth2 option :name, 'google_oauth2' def initialize(app, *args, &) # database lookup config = Setting.get('auth_google_oauth2_credentials') || {} args[0] = config['client_id'] args[1] = config['client_secret'] super end end