Setup SSO with OKTA for my angular 6 app

Detailed Description: Setup SSO with OKTA for my angular app

I have created two applications and also configured in okta as OIDC SPA, now I want to achieve SSO from one application to another.

I have a link for second app2 in app1 so after logging in to application app1 , I want to SSO in app2 i.e. want to redirect to app2 without putting login credentials.

Since I am logging in to app1 so How can I redirect to app2 without login.
How can achieve this using oauth2?