Spring boot how to get access token for existing okta session

Hi
I have two OIDC enabled applications running on different servers. User logs in to one app and moves to another application while okta session is active. When the user lands on second app authorization code flow is not being executed completely (access token is not generated from code) since the okta session is active. How can I get an access token?

Thanks!
Srini