Skip to content

Commit

Permalink
Breaking changes from oauth2 v2
Browse files Browse the repository at this point in the history
  • Loading branch information
espen committed Aug 26, 2022
1 parent e577228 commit fd6b007
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/omniauth/strategies/mailchimp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ class Mailchimp < OmniAuth::Strategies::OAuth2
option :client_options, {
:site => "https://login.mailchimp.com",
:authorize_url => '/oauth2/authorize',
:token_url => '/oauth2/token'
:token_url => '/oauth2/token',
:auth_scheme => :request_body
}

option :auth_token_params, {
:expires_at => 1.minute.from_now
}

def request_phase
Expand Down

0 comments on commit fd6b007

Please sign in to comment.