You can implement your own OAuth2 authentication by means of a login module. You can take a look at the code of the Q2A Open Login plugin and use it as a reference as it doesn't really work because it is a bit outdated.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.