OAuth2 Integration

I would like to integrate squidex with our identity provider. It is an OAuth2 IdP with authorization code grant type and I would like squidex to act as a client. I seemed to understand that by configuring oidcName, oidcAuthority, oidcClient and oidcSecret i can integrate an OpenId Connect idp.
It’s possible to do it with an OAuth2 IdP? What is the correct way to proceed? There is a configuration similar to that for google, twitter etc. or do I have to proceed with development using the API?

Thank you ,

I think OAuth2 should work with the same configs, not sure though