Return user after the self service registration

Hello!

I’m new to Okta and in my app I’m using the Sign-in Widget with React. In config, I activated features: { registration: true } which gave me the link to the self-service registration form. Now how can I get the user after the registration? Is there are any onSuccess triggers or anything like this?

Thanks!