Config Gitea Auth via config file


I’m trying to deploy an instance of Gitea in a scripted way and configure authentication source settings, specifically, Oauth2 client settings (Client Secret, OIDC Discovery URL, etc).

Unfortunately, I’m not seeing the settings available under the Config Cheat Sheet.

Can anyone point me in the directions of where these settings are stored or how I may be able to influence them at deployment?

Thank you kindly for any pointers,

Oauth settings are stored in the database, and can be configured via CLI. More info is available here:

Hey thank you Techknowlogick,

That was exactly what I was after!

Unfortunately, I may have found a bug with that specific feature, if you have used the CLI to enter the config, did you have to go hit “update” in the GUI for it to operate correctly?