Skip to content

Commit

Permalink
Preparing for 1.7.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyMcWho committed Aug 11, 2020
1 parent 4321739 commit a8d8e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth-oauth2/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module OmniAuth
module OAuth2
VERSION = "1.6.0".freeze
VERSION = "1.7.0".freeze
end
end
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/oauth2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def request_phase
redirect client.auth_code.authorize_url({:redirect_uri => callback_url}.merge(authorize_params))
end

def authorize_params# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
def authorize_params # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
options.authorize_params[:state] = SecureRandom.hex(24)

if OmniAuth.config.test_mode
Expand Down

0 comments on commit a8d8e27

Please sign in to comment.