GDS::SSO.config do |config| config.user_model = 'User' # set up ID and Secret in a way which doesn't require it to be checked in to source control... config.oauth_id = ENV['OAUTH_ID'] config.oauth_secret = ENV['OAUTH_SECRET'] # optional config for location of Signon config.oauth_root_url = Plek.new.external_url_for('signon') # Pass in a caching adapter cache bearer token requests. config.cache = Rails.cache end