README.md in dce_lti-0.5.4 vs README.md in dce_lti-0.6.0
- old
+ new
@@ -11,11 +11,11 @@
## Getting started
Add these gems to your gemfile:
gem 'dce_lti'
- gem 'activerecord-session_store', '~> 0.1.1''
+ gem 'activerecord-session_store', '~> 1.0.0''
Update (or create) `config/initializers/session_store.rb` and ensure it contains:
Rails.application.config.session_store :active_record_store, key: '_your_app_session', expire_after: 60.minutes
@@ -151,13 +151,14 @@
`current_user`, rails route helpers and other controller-specific context
through the controller instance passed to it.
### Invalid LTI Sessions
-If an LTI session cannot be validated, `dce_lti/sessions/invalid` will be
+If an LTI session cannot be validated, by default `dce_lti/sessions/invalid` will be
rendered. You can customize this output by creating a file named
`app/views/dce_lti/sessions/invalid.html.erb`, per the default engine view
-resolution behavior.
+resolution behavior. It is also possible to configure your own redirect url via
+'redirect_after_session_expire' setting in dce_lti_config.
### Cookieless Sessions - Experimental
If you're running your LTI app on a domain different than your LMS, it will not
work in recent Safari browers. This is because [Safari blocks third party