OIDC is supported by PocketBase as well as Share Me's frontend. Simply configure the OIDC providers in PocketBase under Settings > Auth providers and use either one of the pre-defined providers or your own OIDC provider.
PocketBase handles OAuth redirects at /api/oauth2-redirect
. For more information see Authentication.