Closed
Description
Description
When oauth2 is disabled in config with
[oauth2]
ENABLE = false
gitea is still trying to generate private key using jwtsigningkey.go:386:loadOrCreateAsymmetricKey(). Shouldn't oauth2.Init
be skipped in this scenario?
Gitea Version
1.21.10
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
compiled from sources
Database
MySQL/MariaDB