Open ivard opened 3 years ago
When using the session: { start: ... } option in irma-client it is not possible to do nice error handling on custom errors.
session: { start: ... }
irma-client
Possible options are:
start
session
session: false
start()
A low-effort third option is missing, this can be improved.
When using the
session: { start: ... }
option inirma-client
it is not possible to do nice error handling on custom errors.Possible options are:
start
option and do a manual mapping; disadvantage is that the 'Try again' button will disappear on Error/Cancelled/Timeout.session
option at all and start the session manually in a custom plugin (by sayingsession: false
and handle the skipped transitions related tosession
manually in a custom pluginstart()
Promise.A low-effort third option is missing, this can be improved.