I am working on a public exposed customer portal, which we are doing through mashup.
The user, as soon as clicks on the customer corporate website "My customer portal" should be then redirected to Pega and if there is no active session (there is no credentials screen provided by Pega) should be then redirected to an external credentials screen. There is no SAML or SSO on the web, the customer has OAuth2 with OpenID connect, which we don't support OOTB.
The idea is that we redirect to the OAuth provider credentials screen (having built the redirect uri with the state, client_id ..) and then, back to us through the OOTB redirect REST service for OAuth2.
Forgot to mention that we are on Pega 7.2.1.
Has anyone gone through something similar before? Could anyone give a hint? So far I can access my authentication service but I can't get the redirect to the external application working.