# File lib/omniauth/strategies/oauth2/glitch.rb, line 7 def initialize(app, client_id=nil, client_secret=nil, options={}, &block) # :scope (identity|read|write) is required for authorization and should be passed # in the OmniAuth :provider options hash in your application client_options = { :site => 'http://api.glitch.com', :authorize_url => '/oauth2/authorize', :token_url => '/oauth2/token' } super(app, :glitch, client_id, client_secret, client_options, options, &block) end