Skip to content

OOB OAuth deprecation: migrate to OAuth loopback mechanism #1140

Open

Description

@bsidhom

The Out-of-Band workflow will be deprecated in October 2022. As far as I can tell, drive still uses OOB (copy/paste) to authenticate.

I think that existing (authenticated) clients will continue to work at this point, but I'm not sure how long new authentication flows will continue to work. Desktop applications should migrate to a loopback device flow.

Activity

  1. tom-ch1 commented on Sep 4, 2022

    @tom-ch1

    Checkout how Brian adapted grive2 to migrate oob to loopback flow: vitalif/grive2#369
    Maybe the same approach works here

  2. added a commit that references this issue on Oct 11, 2022
    85754d4
  3. added a commit that references this issue on Oct 19, 2022
    7fefdbd
  4. jeffman commented on Oct 21, 2022

    @jeffman

    When I visit the link produced by drive init ~/gdrive, I get:

    Access blocked: drive for Google Drive’s request is invalid
    
    You can’t sign in because drive for Google Drive sent an invalid request. You can try again later, or contact the [developer](https://accounts.google.com/) about this issue. [Learn more about this error](https://support.google.com/accounts/answer/12379384)
    If you are a developer of drive for Google Drive, see [error details](https://accounts.google.com/).
    Error 400: invalid_request
    

    Is the error I'm seeing due to this issue?

  5. indev29 commented on Oct 21, 2022

    @indev29

    Is the error I'm seeing due to this issue?

    Unfortunately, yes. You can try a fix from #1142 for now.
    I'm not sure when it will be merged to master, seems like the project is not actively maintained at the moment.

  6. grovera-md commented on Nov 11, 2022

    @grovera-md

    Is there any update on this issue? Installing the @latest version still produces the error.

  7. bsidhom commented on Nov 19, 2022

    @bsidhom
    Author

    The fix from #1142 hasn't been merged yet, so it won't appear in @latest. I'm not sure if this repo is still maintained, but for now, you'll have to patch in that change and build locally if you want the fix.

  8. gmordele commented on Aug 16, 2026

    @gmordele

    I’ve been using "drive" for several years, and I still use it very frequently today.

    What I really appreciate about this project is its simplicity. It does exactly what I need without unnecessary complexity, and over the years it has become a very useful part of my workflow.

    Unfortunately, because of the changes and restrictions introduced by Google, I can now only get it to work properly with one of my Google Drive accounts. For my other accounts, the authentication limitations have made it almost unusable.

    That is quite frustrating, especially because I still find "drive" extremely useful and I have not found another tool that I enjoy using as much for this purpose.

    I understand that maintaining an open-source project takes a lot of time and effort, and I don’t want this message to sound like a demand. I mainly wanted to say that there are still users who rely on this project and genuinely appreciate it.

    If there is any possibility of resuming development, especially to update the authentication process and make it compatible with Google’s current OAuth restrictions, I would be very happy to see this project become fully usable again.

    Thank you for creating and maintaining "drive" over the years. I have personally gotten a lot of value from it, and I would love to continue using it for many more years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions