Add SSO to AngularJS SPA using PKCE

Hello,
We’ve got an AngualrJS (1.8.2) SPA FrontFnd and we need to integrate SSO with PKCE.
Is this possible ?
Is there any sample there ?
Thanks for your answer.