Hey Descope I want to customise the “Sign up or in...
# ask-a-descoper
d
Hey Descope I want to customise the “Sign up or in” flow. For the signup, I want the user to get a link, fill some information, but not have access until I approve them. Is this possible? Can I have this some tenant domains be accepted as new users automatically and non existing tenants to get approval first?
s
One way to achieve this is with roles and permissions Once the user is signed up, he is created with no roles/permissions. Once you decide to approve them , just add to their users the relevant role ( say call it "approved user" ) from our UI or SDK Of course you will need to validate that role on your backend , on the JWT
d
So I will need to have a page for in-approved users?
s
You mean unapproved users ?
d
Yes, sorry. Autocorrect 🤦‍♂️
s
Are you using flows ? Or API/SDK ? If flows, You can simply have in flow a screen after sign in, that he is pending company approval
d
Great idea, thanks
👍 1