SAML Token Expiry

I am using SAML for authentication and the token I receive expires in 10 minutes. I have to allow users to stay logged in for atleast 7 days. How can I change token expiry for SAML authentication?

what’s your sign-on policy in Okta from the session lifetime perspective? I think it’s linked to SAML assertion validity period

It is using default sign on rule.

I also faced these bugs . How should I do?