
JayaramC.44282 (Customer) asked a question.
We are using okta mod_auth_openidc plugin with Apache server. We can authenticate Angular SPA with PKCE using back channel and redirecting to Angular app.
Our requirement is not to keep long okta session but browser should extend / refresh session every hour based on user input.
In above flow we are not able to track the okta session since session id (sid) is empty in every request in the flow. Please recommend on how we can track okta session and refresh using either frontend or back channel api call.

Hello @JayaramC.44282 (Customer) Thank you for reacting out to our Community!
There was a similar question on this matter, please see here:
https://devforum.okta.com/t/okta-session-token-in-angular-app/19653
Additionally if you need further assistance we recommend to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
https://devforum.okta.com/
Community members help others by clicking Like or Select as Best on responses. Try it today.
Thank you Paul for the reply.
We are using Refresh Token for access token renewal and to stay login in the app. My understanding is that this will not extend the Okta session. We need to extend okta session every hour along with access token renewal (using refresh token), say every 15 mins and both renewal happens based on user input.
Our challenge is to get the okta session id and control the Okta session in aligning to maintain application log-in using access token / refresh token.