How to assign role to self registered user?

I want to assign role to self registered user (from login page). I can not consider this role as default role, because it will not be mapped to every user.
Please suggest.
Thanks in advance.

Hi @rashmigandre,

Is it possible to you to extend the default Register Flow by adding a custom execution, responsible for the role assignation ?