blob: a562773b9d16d6281bb92a49c1fed18506dc483f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- lib/omniauth/strategies/google_oauth2.rb.orig 2017-11-18 01:23:41 UTC
+++ lib/omniauth/strategies/google_oauth2.rb
@@ -70,7 +70,8 @@ module OmniAuth
verify_not_before: true,
verify_iat: true,
verify_jti: false,
- leeway: options[:jwt_leeway]
+ leeway: options[:jwt_leeway],
+ algorithm: 'RS256'
).first
end
hash[:raw_info] = raw_info unless skip_info?
|