Do you know how to get a new sessionToken using Okta-auth-js?
More specifically, we are redirecting from our app to okta’s user credentials form and then redirecting to our app. At that point how could we obtain a sessionToken so that the accessTokens are automatically renewed?
If you’re in an Okta Classic org (not Identity Engine), you can get a sessionToken back when successfully completing primary authentication (username/password + any required factors based on Org level sign on policies) via the /authn endpoint.