Skip to content

Commit b89dca6

Browse files
committed
Lockdown 'oauth2' to version under 2
Closes #50 Christopher S. and I were able to track down the error: > OAuth2::Error - Could not find application: > #<SnakyHash::StringKeyed error="Could not find application">: The likely culprit is that the auth call is not including any identifying data. We didn't find more specific information about this, but the regression happens between v1.4.9 and >= v2. We verified that locking down the "oauth2" gem to under 2 fixes the error. Later on, we'll probably need to address this issue when we want to use versions 2 and later.
1 parent d00f2bc commit b89dca6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

kracken.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
2222
s.add_dependency 'faraday', ['>= 0.8', '< 2.0']
2323
s.add_dependency 'omniauth', '~> 1.0'
2424
s.add_dependency 'omniauth-oauth2', '~> 1.1'
25+
s.add_dependency 'oauth2', '< 2'
2526
s.add_dependency 'rails', [">= 5.2", "< 7.0"]
2627
s.add_dependency 'redis'
2728

lib/kracken/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Kracken
4-
VERSION = "0.4.2"
4+
VERSION = "0.4.3"
55
end

0 commit comments

Comments
 (0)