Skip to content

Commit

Permalink
bring back default scope of offline_access in order to get refresh_to…
Browse files Browse the repository at this point in the history
…ken in response.
  • Loading branch information
synth committed Mar 17, 2020
1 parent 614f293 commit 5cb02d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth/microsoft_graph/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Omniauth
module MicrosoftGraph
VERSION = "0.3.1"
VERSION = "0.3.2"
end
end
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/microsoft_graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Strategies
class MicrosoftGraph < OmniAuth::Strategies::OAuth2
BASE_SCOPE_URL = 'https://graph.microsoft.com/'
BASE_SCOPES = %w[offline_access openid email profile].freeze
DEFAULT_SCOPE = 'openid email profile User.Read'.freeze
DEFAULT_SCOPE = 'offline_access openid email profile User.Read'.freeze

option :name, :microsoft_graph

Expand Down

0 comments on commit 5cb02d7

Please sign in to comment.