https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

06/13/2021, 4:11 AM
hey @User > I want to have a group of new users who can only log in to the new app (they should not be able to log in to the current app). How are you going to prevent these users from logging into the previous app? By detecting their email used and preventing them from signing up / logging in? > How could I then add info about which app is the user logging in from? You can associate a role to the user once they log in (based on their userID. See this page: https://supertokens.io/docs/emailpassword/common-customizations/user-roles/assigning-users-roles > And also is it possible to reject the log in when the user does not have a certain role Not as of now, but in a few days, we will make a new release that will let you do this very easily 🙂