External Identity Provider with OAuth2 for a Pega Service

Hello Colleagues, is it possible to configure an external Identity provider to secure a Pega service?

I can see a similar question but there is no answer Securing Service-Rest with external oAuth provider like Okta | Support Center

How do I achieve this?

@AndreyT1 could you take a look at the documentation referenced in Service REST Performance Issue?

Also see the answer that was provided by an SME in Service REST OAuth2 - External OAuth2 Provider