https://supertokens.com/ logo
#general
Title
# general
m

marshmalon

04/03/2022, 4:34 PM
Has anyone implemented a waitlist type of system with supertokens?
r

rp

04/03/2022, 4:35 PM
Do you want the users to sign up and then be notified that they are in a waitlist? Or just enter their email?
And then be able to sign up after they have been approved?
m

marshmalon

04/03/2022, 4:41 PM
The first method sounds more like an authorization thing. So probably the 2nd. Like can we restrict who can sign up to an approved list of people temporarily
I could see how to do it with something like oso, but would rather do it all from supertokens
r

rp

04/03/2022, 4:42 PM
Yes. You can. You will have to use the API override feature we have and then in there, check the input email on if it has been approved or not. Else return an error from the API
m

marshmalon

04/03/2022, 4:42 PM
sweet thanks
2 Views