20862: Add 'sdk/ruby-google-api-client/' from commit '2f4be67955e48bb65d008ecd9ff6da9...
[arvados.git] / services / api / config / initializers / authorization.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 Server::Application.configure do
6   config.middleware.delete ActionDispatch::RemoteIp
7   config.middleware.insert 0, ActionDispatch::RemoteIp
8   config.middleware.insert 1, ArvadosApiToken
9 end