diff --git a/lib/doorkeeper/config.rb b/lib/doorkeeper/config.rb
index <HASH>..<HASH> 100644
--- a/lib/doorkeeper/config.rb
+++ b/lib/doorkeeper/config.rb
@@ -99,7 +99,7 @@ module Doorkeeper
     option :resource_owner_authenticator, :as      => :authenticate_resource_owner
     option :admin_authenticator,          :as      => :authenticate_admin
     option :access_token_expires_in,      :default => 7200
-    option :authorization_scopes,         :as      => :scopes, :builder_class => ScopesBuilder
+    option :authorization_scopes,         :as      => :scopes, :builder_class => ScopesBuilder, :default => Scopes.new
 
     def refresh_token_enabled?
       !!@refresh_token_enabled
diff --git a/spec/lib/config_spec.rb b/spec/lib/config_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/config_spec.rb
+++ b/spec/lib/config_spec.rb
@@ -48,6 +48,14 @@ describe Doorkeeper, "configuration" do
       subject.scopes[:public].description.should == "Public"
       subject.scopes[:public].default.should == true
     end
+
+    it "returns empty Scopes collection if no scopes were defined" do
+      Doorkeeper.configure do
+      end
+
+      subject.scopes.should be_a(Doorkeeper::Scopes)
+      subject.scopes.all.should == []
+    end
   end
 
   describe "use_refresh_token" do
Handle situation when user did not specify any scopes

If user did not specify any scopes in the initializer the application would
by default have empty Scopes collection.