# OAuth Client Setup - Wrong Protocol

**URL:** <https://forum.gitea.com/t/oauth-client-setup-wrong-protocol/4978>\
**Category:** Install/Maintain/Configure\
**Created:** [April 2, 2022, 5:33pm UTC](https://forum.gitea.com/t/oauth-client-setup-wrong-protocol/4978 "2022-04-02T17:33:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vwDel](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@vwDel](https://forum.gitea.com/u/vwDel)\
**Post date:** [April 2, 2022, 5:33pm UTC](https://forum.gitea.com/t/oauth-client-setup-wrong-protocol/4978/1 "2022-04-02T17:33:45Z")

</div>

We register an app with HTTPS protocol for Oauth2 on Gitea. The application data in the DB table, oauth\_application, shows the protocol correctly. When a user signs in from the OAuth client app, log messages on Gitea show the protocol of the redirect URI is HTTP instead. A user can’t sign in to the OAuth client app as a result. I guess that won’t relate to a data cache that changes the data from the DB. Is some sort of configuration in this regard?
