# Make Drone.io log into Github without using the UI

**URL:** <https://drone.discourse.group/t/make-drone-io-log-into-github-without-using-the-ui/5303>\
**Category:** Drone Support\
**Created:** [May 11, 2018, 8:18pm UTC](https://drone.discourse.group/t/make-drone-io-log-into-github-without-using-the-ui/5303 "2018-05-11T20:18:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darthcabs](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/darthcabs/32/5602_2.png) [@darthcabs](https://drone.discourse.group/u/darthcabs)\
**Post date:** [May 11, 2018, 8:18pm UTC](https://drone.discourse.group/t/make-drone-io-log-into-github-without-using-the-ui/5303/1 "2018-05-11T20:18:50Z")

</div>

Hello there!

I’m developing a Terraform module that will deploy [Drone.io](http://Drone.io) to a Docker Swarm running on Amazon EC2 instances.

The problem is, even though all of the deploy configuration is actually done, [Drone.io](http://Drone.io) requires (As far as I know) the user to access its UI in order to log into my company’s Github account using the OAuth App I’ve set up.

Is there any way to automate this step?

I’ve looked everywhere but couldn’t find anything.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![laszlocph](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/laszlocph/32/3233_2.png) [@laszlocph](https://drone.discourse.group/u/laszlocph)\
**Post date:** [May 14, 2018, 1:30pm UTC](https://drone.discourse.group/t/make-drone-io-log-into-github-without-using-the-ui/5303/2 "2018-05-14T13:30:28Z")

</div>

Since Drone is using OAuth apps, and OAuth by design is centered around the manual user consent, it’s unlikely that you can make this work. That would be a security flaw in OAuth.
