iOS: How to log out?

For a native iOS app, i’m using the Okta cocoa pod, and I’m trying to get the app to log out so that another user can use the same device.

I use the following: OktaAuth.clear()

However, after doing this and presenting the sign-on screen, it automatically logs on again immediately.
Am I missing something that I need to clear or reset or something?