README.md in prx_auth-rails-3.0.1 vs README.md in prx_auth-rails-4.0.0
- old
+ new
@@ -44,10 +44,13 @@
```ruby
PrxAuth::Rails.configure do |config|
# enables automatic installation of token parser middleware
- config.install_middleware = false # default: true
+ config.install_middleware = true # default: true
+
+ # set the ID host
+ config.id_host = 'id.staging.prx.tech' # default: id.prx.org
# automatically adds namespace to all scoped queries, e.g. .authorized?(:foo) will be treated
# as .authorized?(:my_great_ns, :foo). Has no impact on unscoped queries.
config.namespace = :my_great_ns # default: derived from Rails::Application name.
# e.g. class Feeder < Rails::Application => :feeder