You can do so with connect.close(); in your onSuccess callback function to close the widget after the successful enrolment; will make this the default behaviour.
Please how do you get the connect widget to close?

Written by Team Mono
Updated over 4 years ago