Request for Architectural Modification - Decentralized and Federated Gitea

Doesn’t Gitea support oauth2 now? I am not quite sure but if it does, this feature would be very interesting and useful.