Right now, there's no way to "go back" in the GUI after selecting a transport. I'm not particularly concerned about the GUI, since that will likely be fully implemented in another project. However, we should add the ability to cancel an operation.
There should be a distinction between cancelling an operation for a particular device or transport, and cancelling the flow altogether. The device/transport cancellation should be used when the user selects some future "Go Back" button. There should be a separate button to bail on the WebAuthn flow altogether. Cancelling the the whole flow should also cancel the pending device/transport operations.
Whatever GUI implements this can decide whether they want to use the granular device cancellation or the nuclear WebAuthn flow cancellation.
Right now, there's no way to "go back" in the GUI after selecting a transport. I'm not particularly concerned about the GUI, since that will likely be fully implemented in another project. However, we should add the ability to cancel an operation.
There should be a distinction between cancelling an operation for a particular device or transport, and cancelling the flow altogether. The device/transport cancellation should be used when the user selects some future "Go Back" button. There should be a separate button to bail on the WebAuthn flow altogether. Cancelling the the whole flow should also cancel the pending device/transport operations.
Whatever GUI implements this can decide whether they want to use the granular device cancellation or the nuclear WebAuthn flow cancellation.