How to enable OAuth 2 providers?

It seems that gitea allows to login thru various services using OAuth2.
Anyone can tell me how to enable OAuth2 providers? What should I set callback address?
I’d like to enable Bitbucket, Discord, Dropbox, Facebook, Github, Google and Twitter.