Opensearch session keepalive when using SAML (okta)

hi, we are using okta to connect to opensearch but after a few minutes the user’s session automatically disconnected.
Is there anything to change to keep the session for longer time?

please check this post → Kibana session keepalive when using SAML - #2 by clsa

I guess this is what you are asking for.

I already checked this post, as @mhoydis said config.jwt.expiry in security plugin’s config.yml does not work for Okta (and im using saml with okta)
I was wondering if there is any other solution?

it does work with Okta SAML.