# Manually prompt Gdrive authentication step

**URL:** <https://discuss.dvc.org/t/manually-prompt-gdrive-authentication-step/858>\
**Category:** Questions\
**Created:** [August 28, 2021, 1:37am UTC](https://discuss.dvc.org/t/manually-prompt-gdrive-authentication-step/858 "2021-08-28T01:37:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheYisus96](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TheYisus96](https://discuss.dvc.org/u/TheYisus96)\
**Post date:** [August 28, 2021, 1:37am UTC](https://discuss.dvc.org/t/manually-prompt-gdrive-authentication-step/858/1 "2021-08-28T01:37:05Z")

</div>

Hi, I’m using DVC with my team and we’re using google drive as our storage solution. By following the tutorial, the google account authentication step appears when I attempt to do my first dvc push, which is ok. Now my teammates new to link their accounts too in order to access the gdrive folder (shared between all of us) but we don’t know how to prompt the authenctication step wihout having them pushing something, all they will do in this repo is pull data.

---

<div class="post-metadata">

**Author:** ![shcheklein](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/shcheklein/32/173_2.png) [@shcheklein](https://discuss.dvc.org/u/shcheklein)\
**Post date:** [August 28, 2021, 5:29am UTC](https://discuss.dvc.org/t/manually-prompt-gdrive-authentication-step/858/2 "2021-08-28T05:29:25Z")

</div>

Hi @TheYisus96 . When your teammates run `dvc pull` they should see the prompt. Does it happen? Or do you see some error? Could please share what do they see, and if there is an error run it with `-v` to share the log (make sure there is no private info in the log).

---

<div class="post-metadata">

**Author:** ![Parash](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@Parash](https://discuss.dvc.org/u/Parash)\
**Post date:** [September 14, 2022, 5:16pm UTC](https://discuss.dvc.org/t/manually-prompt-gdrive-authentication-step/858/3 "2022-09-14T17:16:05Z")

</div>

This would be a useful feature. I messed up the setup by only permitting one of the permissions, and can’t see any clear way of redoing and fixing the permissions.

---

<div class="post-metadata">

**Author:** ![shcheklein](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/shcheklein/32/173_2.png) [@shcheklein](https://discuss.dvc.org/u/shcheklein)\
**Post date:** [October 29, 2022, 4:16pm UTC](https://discuss.dvc.org/t/manually-prompt-gdrive-authentication-step/858/4 "2022-10-29T16:16:32Z")

</div>

To trigger the auth without pushing/pulling, one can run `dvc status -c`.

To find and remove broken credentials to be able to reauth. Find and remove:

`$CACHE_HOME/pydrive2fs/{gdrive_client_id}/default.json` (unless `profile` is specified), where the `CACHE_HOME` location per platform is:

| macOS | Linux (\*typical) | Windows |
| --- | --- | --- |
| `~/Library/Caches` | `~/.cache` | `%CSIDL_LOCAL_APPDATA%` |

Location of this file can be customized with `gdrive_user_credentials_file`: [remote modify](https://dvc.org/doc/command-reference/remote/modify#google-drive)
