I am using the Okta Sign-In Widget in an Angular application. I would like to assign users to a custom role during user self-registration. I have an app for an alumni website. The users can self-register. I want a new drop-down list that has: Student, Alumni. Based on selection, I need to assign the student role or alumni role. How can I do code this?
I am using Angular 11, Okta Sign-In Widget and Okta Developer Account.