signIn method automatically redirects users to your Okta organization for authentication. It emits an event once a user successfully signs in. Make sure your event listeners are mounted and unmounted.
Note: On iOS there isn't an
onCancelled event. If the sign-in process is cancelled,
onError is triggered.