I am working on a React Native app that uses the okta react native package (https://www.npmjs.com/package/@okta/okta-react-native). I am having trouble using the introspectRefreshToken method provided by this package.
When a user closes the app (without logging out) or sends the app to the back ground and the access expires the user is taken to the login screen when opening or bringing the app back to focus. In this case I want to check if there is an active refresh token and upon the users pressing the log in button do a biometric challenge and refresh the tokens.
Is there a way to determine if it is safe to call introspectRefreshToken?