# File lib/oauth/models/consumers/services/oauth2_token.rb, line 13 def self.authorize_url(callback_url) options = {:redirect_uri=>callback_url} options[:scope] = credentials[:scope] if credentials[:scope].present? consumer.auth_code.authorize_url(options) end