Skip to content

Commit 79549f2

Browse files
committed
fixed issue where openid scope stopped working
in v0.9.1 scope with openid stopped working. this commit addresses this issue.
1 parent d617380 commit 79549f2

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

lib/omniauth/strategies/xero_oauth2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def id_token
4444
end
4545

4646
def raw_info
47-
if @id_token == nil
47+
if access_token['id_token'] == nil
4848
@raw_info = {
4949
'xero_userid'=> '',
5050
'given_name' => '',

lib/xero-oauth2/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module OmniAuth
22
module XeroOauth2
3-
VERSION = '0.9.1'
3+
VERSION = '0.9.2'
44
end
55
end

omniauth-xero-oauth2.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'omniauth-xero-oauth2'
3-
s.version = '0.9.1'
3+
s.version = '0.9.2'
44
s.licenses = ['MIT']
55
s.summary = 'OAuth2 Omniauth strategy for Xero.'
66
s.description = 'OAuth2 Omniauth straetgy for Xero API.'

pkg/omniauth-xero-oauth2-0.9.1.gem

5 KB
Binary file not shown.

pkg/omniauth-xero-oauth2-0.9.2.gem

5 KB
Binary file not shown.

0 commit comments

Comments
 (0)