# Drone doesn't implment Gitlab OAuth2 token refresh and causes 404 and code change webhook fails

**URL:** <https://drone.discourse.group/t/drone-doesnt-implment-gitlab-oauth2-token-refresh-and-causes-404-and-code-change-webhook-fails/12018>\
**Category:** Drone Bugs\
**Tags:** integration, login, backend\
**Created:** [May 15, 2022, 3:32am UTC](https://drone.discourse.group/t/drone-doesnt-implment-gitlab-oauth2-token-refresh-and-causes-404-and-code-change-webhook-fails/12018 "2022-05-15T03:32:51Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![VengefulAncient](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/vengefulancient/32/3523_2.png) [@VengefulAncient](https://drone.discourse.group/u/VengefulAncient)\
**Post date:** [June 1, 2022, 9:59am UTC](https://drone.discourse.group/t/drone-doesnt-implment-gitlab-oauth2-token-refresh-and-causes-404-and-code-change-webhook-fails/12018/14 "2022-06-01T09:59:21Z")

</div>

We have rebuilt Drone with the `go-scm` change you proposed. Sadly, it doesn’t seem to change anything, some builds still randomly fail with the `fatal: could not read Username for 'https://gitlab.com': terminal prompts disabled` error.

---

_[View the full topic](https://drone.discourse.group/t/drone-doesnt-implment-gitlab-oauth2-token-refresh-and-causes-404-and-code-change-webhook-fails/12018)._
