Skip to content

Commit

Permalink
Merge pull request #7 from eleanorakh/upgrade-omniauth-1-4
Browse files Browse the repository at this point in the history
Manually specify callback method
  • Loading branch information
Martin Fenner committed Jun 9, 2016
2 parents 79674d9 + 56ee572 commit cf44c39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/omniauth/strategies/orcid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ def raw_info
urls: {}
}
end

def callback_url
full_host + script_name + callback_path
end
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion omniauth-orcid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

# Declary dependencies here, rather than in the Gemfile
s.add_dependency 'omniauth-oauth2', '~> 1.3.1'
s.add_dependency 'omniauth-oauth2', '~> 1.3'
s.add_development_dependency 'bundler', '~> 1.0'
s.add_development_dependency 'rspec', '~> 3.4'
s.add_development_dependency 'rack-test', '~> 0.6.3'
Expand Down

0 comments on commit cf44c39

Please sign in to comment.