Commit d67c7d4938b1f7717f0f13de1e5d3181781efb2c

Authored by Thiago Ribeiro
1 parent 2067e717

Update authors and README and remove unused cookie

README.md
1 1 # Omniath Remote User
2 2  
3 3 The Omniauth Remote User gem provides a way for application to utilize a authentication with remote user HTTP header.
  4 +
  5 +# Omniauth Gitlab Remote User
  6 +
  7 +This gem provides authentication of remote users in gitlab.
  8 +
  9 +# Instalation
  10 +
  11 +Include in you gitlab Gemfile
  12 +
  13 +```ruby
  14 +gem "omniauth-remote-user", :git => "git@beta.softwarepublico.gov.br:softwarepublico/omniauth-remote-user.git"
  15 +```
  16 +Then run `bundle install` from the command line:
  17 +
  18 + bundle install
... ...
lib/omniauth/strategies/remote_user.rb
... ... @@ -4,7 +4,6 @@ module OmniAuth
4 4  
5 5 include OmniAuth::Strategy
6 6  
7   - option :cookie, 'rack.session'
8 7 option :cookie, '_gitlab_session'
9 8 option :internal_cookie, '_remote_user'
10 9  
... ...
omniauth-remote-user.gemspec
... ... @@ -14,9 +14,9 @@ Gem::Specification.new do |gem|
14 14 gem.version = Omniauth::RemoteUser::VERSION
15 15 gem.description = %q{Authentication with Remote-User HTTP header for Omniauth.}
16 16 gem.summary = gem.description
17   - gem.email = ['kanashiro.duarte@gmail.com', 'thiagitosouza@gmail.com', 'rodrigosiqueiramelo@gmail.com']
  17 + gem.email = ['kanashiro.duarte@gmail.com', 'thiagitosouza@gmail.com', 'rodrigosiqueiramelo@gmail.com','macartur.sc@gmail.com','Antonio Terceiro']
18 18 gem.homepage = 'http://beta.softwarepublico.gov.br/gitlab/softwarepublico/omiauth-remote-user'
19   - gem.authors = ['Lucas Kanashiro', 'Thiago Ribeiro', 'Rodrigo Siqueira']
  19 + gem.authors = ['Lucas Kanashiro', 'Thiago Ribeiro', 'Rodrigo Siqueira','Macartur Sousa', 'Antonio Terceiro']
20 20 gem.require_paths = %w(lib)
21 21 gem.files = `git ls-files -z`.split("\x0").reject {|f| f.start_with?('spec/')}
22 22 gem.test_files = `git ls-files -- {test,spec,feature}/*`.split("\n")
... ...