# Gitea Oauth2 app not able to login to drone

**URL:** <https://forum.gitea.com/t/gitea-oauth2-app-not-able-to-login-to-drone/4216>\
**Category:** Install/Maintain/Configure\
**Created:** [December 8, 2021, 2:40pm UTC](https://forum.gitea.com/t/gitea-oauth2-app-not-able-to-login-to-drone/4216 "2021-12-08T14:40:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdeep-ciena](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/gdeep-ciena/32/1873_2.png) [@gdeep-ciena](https://forum.gitea.com/u/gdeep-ciena)\
**Post date:** [December 8, 2021, 2:40pm UTC](https://forum.gitea.com/t/gitea-oauth2-app-not-able-to-login-to-drone/4216/1 "2021-12-08T14:40:11Z")

</div>

I am able to setup my gitea instance and able to login and create the repos on my instance.

When I create oauth app I have setup redirect url of my drone server, but When I login to my drone instance I dont get any gitea oauth prompt to access my repos from my gitea instance.

Gitea: [http://xxxx:3000](http://xxxx:3000)  
Drone : [http://xxxx:100](http://xxxx:100)

I have tried using gitea and drone docker compose on both same machine and different machine.

I am facing same issue.

Please help!
