Hi everyone! Do you know if there is a feature of user approval by admins if a user signs up to my...
w
Hi everyone! Do you know if there is a feature of user approval by admins if a user signs up to my app? If not, how would you handle it? I have some ideas but innovative ideas are welcome!
r
hey @wendytrns this is a modification you have to make on your end. You can do this for example by denying access to users who have signed in / up by adding a custom claim in the access token paylaod.
w
Great thanks. So what you say is that I add a claim that says that the user is approved if he is indeed approved. And I verify it at request time. And where would I save the approval info? Saving this in the user metadata is a good practice ?
r
yea, in your db, or in the user metadata feature we have. Either is fine
w
Great thks!