SSO with custom provider

Is there any tested way to authenticate admin users in strapi admin panel with custom (or even popular ones like google, discord …) Oauth 2.0 providers? As I checked its included in enterprise version, tried some free solutions but didn’t work.