Register / sign up flow: Is it possible to have admin accept pending registrations?
Thanks in advance! I'd like to achieve the following flow
- User lands to login page, options Register/Sign up and Login
- User signs up - preferably using their socials eg. Github, G suite
- By this, user is left waiting approval of their registration
- Admin gets notification (via email/other) of awaiting registration
- User gets notification (via email) when they are accepted
I presume if there isn't a "built-in" flow for this, I could achieve the same flow with doing some RBAC in my webapp. Like, assign new, self-enrolled users a "lobby" role, which lets them to access a lobby in my webapp. Then make the admin move their role to "member" and notify them via email.
Asked the bot:
https://discord.com/channels/1070212618549219328/1313093098712338433
Happy December, r: Joe
5 Replies
Hey @Regular_Joe you answered your own question very well. We do not have a way to do this OOTB unless you want to use the access request page. See https://docs.kinde.com/build/set-up-options/manage-access-requests/?r=search#_top
Kinde docs
Set up and manage user access requests
Our developer tools provide everything you need to get started with Kinde.
This is more designed for controlled product release or pre-sign ups, but you could adapt it.
However, if you still want to host a signup/signin page, the your idea for using roles is probably best. You can assign a default 'lobby' role automatically, and you could probably use a webhook to send a notification to the admin for new lobby roles. Dos this sound like the better option?
Thanks for your answer. Hmm, got to test which of the either would be more nice, but both seem good anyway. Thanks!
Access request might even do it, that is a nice feature
Testing it, I think the user access request would be the choice for me. I set up a login page in my app that has "Request Access" and "Sign in" buttons that lead to the respective Kinde views.
1) But you probably cannot request access using your social? When access is granted, the user can sign in via email and will probably go through the registration flow as if they were signing up themselves?
Good app btw. I previously used Auth0 and while it is expensive, DX is here better aswell. Thank you!
Correct. Users sign up with email (not social) to request access. However, you can convert your request access list to be users. So that when access is ready, you can invite them to sign in (with email) or other SSO options.
Ah nice. That's about perfect. Thanks!