dropbox_api icon indicating copy to clipboard operation
dropbox_api copied to clipboard

allow version 2.x of oauth dependency

Open jrochkind opened this issue 3 years ago • 3 comments

Closes #96

Note oauth 1.x is still allowed by gemspec, just expanded to allow 2.x too. OAuth release notes expect no problems from 2.x for most uses.

You have installed oauth2 version 1.4.11, which is EOL.
No further support is anticipated for the 1.4.x series.

OAuth2 version 2 is released.
There are BREAKING changes, but most will not encounter them, and upgrading should be easy!

We have made two other major migrations:
1. master branch renamed to main
2. Github has been replaced with Gitlab

Please see:
• https://gitlab.com/oauth-xx/oauth2#what-is-new-for-v20
• https://gitlab.com/oauth-xx/oauth2/-/blob/main/CHANGELOG.md
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE

Please upgrade, report issues, and support the project! Thanks, |7eter l-|. l3oling

jrochkind avatar Dec 19 '22 20:12 jrochkind

Huh, Travis actually is running -- which really surprised me as travis had ended their support for open source.

The build seems to be failing on VCR cassette mis-matches. There are instructions for generating VCR casettes in README, but I'm not sure i have time/energy to try it. Would anyone else like to help?

I'm also not sure why the tests are passing for me locally! I did have some tries running tests where I had similar VCR cassette failures... but without changing anything but just running again, it started passing, not sure why.

jrochkind avatar Dec 19 '22 20:12 jrochkind

Hm, I tried to regenerate vcr casettes with an dropbox oauth token, but ran into this error i'm not sure how to solve:

DropboxApi::Errors::ExpiredAccessTokenError: missing_scope/..
/Users/jrochkind/code/dropbox_api/lib/dropbox_api/endpoints/base.rb:41:in `process_response'
/Users/jrochkind/code/dropbox_api/lib/dropbox_api/endpoints/base.rb:17:in `perform_request'

jrochkind avatar Dec 19 '22 21:12 jrochkind

@Jesus Do you please know how this could be resolved?

Laykou avatar Jan 17 '23 10:01 Laykou