Calling a specific page on a website secured with Okta

I have 2 asp.net web applications secured with Okta (OPENID OAuth2). Everything is working fine, we can connect through Okta on both websites.

The problem: from the first website, I would like to be able to call a specific page on the second website. It only works the second time. Let me explain you below.

My question: is it possible to have it working as expected the first time it is accessed?

It seems, the first time https://second.mydomain.com/#/PackingDetail/3101 is accessed, Okta needs to connect the user and so redirect to the (static) PostLogoutRedirectUri which is the problem. The second time, the session cookie is found and so Okta don’t have to redirect but can directly access the requested page (https://second.mydomain.com/#/PackingDetail/3101).