README.md in devise-doorkeeper-1.0.0 vs README.md in devise-doorkeeper-1.0.1

- old
+ new

@@ -58,9 +58,19 @@ # the devise-doorkeeper gem will permit access via valid OAuth2 tokens end end ``` +#### (optional) Disable session storage +Most API's should not create sessions for each API request. +This can be configured via the Devise `skip_session_storage` setting. + +```ruby +# config/initializers/devise.rb +config.skip_session_storage = [:http_auth] # this is the default devise config +config.skip_session_storage << :doorkeeper # disable session storage for oauth requests +``` + ## [ Contributing ](CONTRIBUTING.md) 1. Fork it ( https://github.com/betterup/devise-doorkeeper/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`)