Skip to content

Commit 5cb02d7

Browse files
committed
bring back default scope of offline_access in order to get refresh_token in response.
1 parent 614f293 commit 5cb02d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Omniauth
22
module MicrosoftGraph
3-
VERSION = "0.3.1"
3+
VERSION = "0.3.2"
44
end
55
end

lib/omniauth/strategies/microsoft_graph.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Strategies
55
class MicrosoftGraph < OmniAuth::Strategies::OAuth2
66
BASE_SCOPE_URL = 'https://graph.microsoft.com/'
77
BASE_SCOPES = %w[offline_access openid email profile].freeze
8-
DEFAULT_SCOPE = 'openid email profile User.Read'.freeze
8+
DEFAULT_SCOPE = 'offline_access openid email profile User.Read'.freeze
99

1010
option :name, :microsoft_graph
1111

0 commit comments

Comments
 (0)