Skip to content

Upgrade oauth2 dependency to 2.x#113

Open
singlethink wants to merge 1 commit into
Jesus:masterfrom
singlethink:upgrade-oauth2
Open

Upgrade oauth2 dependency to 2.x#113
singlethink wants to merge 1 commit into
Jesus:masterfrom
singlethink:upgrade-oauth2

Conversation

@singlethink
Copy link
Copy Markdown

Bumps the oauth2 dependency from ~> 1.1 to ~> 2.0. The only API change from oauth2 2.0 affecting this gem is the default :auth_scheme changing from :request_body to :basic_auth. Dropbox expects the client credentials in the request body, so lib/dropbox_api/authenticator.rb sets auth_scheme: :request_body explicitly to preserve the prior behavior. No spec updates needed.

Bump the oauth2 dependency from ~> 1.1 to ~> 2.0. The only API change
affecting this gem is oauth2 2.0 changing the default :auth_scheme from
:request_body to :basic_auth. Dropbox expects the client credentials in
the request body, so set auth_scheme: :request_body explicitly to
preserve the prior behaviour.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant