I’m Ben and I’m facing a login issue.
After creating a custom field “user_type” in the User Data type taking an option set as value (user, admin, …) I change it from admin dashboard in order to change user role depending on each user of my app.
After this change I noticed that I can’t login with the user concerned in my app anymore (I checked the console : “Log the user in” workflow retrieve the good user with good email and good unique id but all other data are empty. In database the data are filled well).
I tried also to change the user_type field directly from database but same issue.
Something weird : when I put the admin role to the user concerned by the change I can log to my app as admin but it’s not working for others roles.
Hi there, @factory-club… I don’t fully understand your post, and it might help if you could share screenshots of your login workflow and the data in the database so we can get some more context. But, for what it’s worth and because you are talking about users, it simply never hurts to make sure Bubble’s default privacy rule on the User data type isn’t getting in the way somehow. I have no idea if that is the case here because, again, I don’t necessarily understand your issue… but like I said, it never hurts to check that one.