
KineshP.46883 (Customer) asked a question.
Following a SAML flow, I am currently initiating a SP flow that directs a browser to Okta. Upon a successful login, I receive the SAML response and pass that back into my server and do some auth magic. However, I want to obtain a refresh token from Okta so that I could validate whether or not a session has expired after a period of time and re-up it if not. Is this possible?

Hi Kinesh,
Thank you for posting on our community. If you are using an Okta OAuth 2.0 Client App, you can take advantage of the refresh token feature stated here:
https://developer.okta.com/authentication-guide/tokens/refreshing-tokens