This topic explains how to set up the reply to the push notification. Complete this step if you are using the Identity Platform MFA methods push-to-accept, symbol-to-accept, or biometric. If you are using only TOTP, see "Generate offline TOTP" for steps.

At this point in the workflow, the end user has received a push notification and must send an accept or deny reply.

In the following code, check the pushType to see the interface to show end users. Additionally, the following code configures the BPAN (Biometric Push Accept Notification) and SPAN (Symbol Push Accept Notification) push types to display the correct flow. It also uses the IdpService to respond to the push notification.

fun onAcceptNotification(notification: SecureAuthNotification) {
}

}

// Launch a biometric validation
}

// Show symbols for user selection from notification.symbols
// Send a reply with the symbol selected as response
}