If you have used Stripe, you know that doing certain things requires a password. Is that possible in Bubble? I have been playing around with this and would like some assistance.
What I am looking for is a way to require someone to enter their password to allow a button to become clickable or something like stripe, where a popup appears and you have to enter your password to continue.
Hey one more thing on this. What about checking the password of someone with an admin user role to approve something? This would mean that I wont want the user to log out, but the admin user to come in and enter their credentials in a popup or something to approve a change.
What do you mean by the admin user comes in? Are you trying to have the admin user approve something by walking up to the user’s computer and entering their credentials in a popup while the user is logged in? So, in other words, you’d be trying to check the password of a user (the admin user) who is not currently logged in?
The check password feature I mentioned obviously won’t work, and I would be surprised if what you are trying to do is possible for security-related reasons.
If you absolutely must have the user experience I described in my last response, you could hack something together, but I wouldn’t advise it. For example, you could store an “approval code” on the admin user, and then the admin user could enter that code into the popup. That would work because, unlike the admin’s password, you would have access to that field and could check it against an input. That being said, it’s obviously a not-so-great idea because the code is stored in plain text in the db.
I think the “right” way to do it is to have the admin user have to perform an action within their own account in order to approve a change. So, a user does something that needs admin approval, and an approval request is put in a queue for the admin. Then, the admin could simply press a button or something within their own account to approve the change, and the user who submitted the request could get a notification that the change has been approved.
Anyway, maybe someone else will come along and tell us how to access a user’s password from another user’s account, but again, I’d be very surprised if it’s possible. So, consider all of the above to be food for thought, and I hope it helps.
Oh, your first reply was exactly what I wanted. it worked perfectly. I was wanting the new thing because it makes it easier. It also might not be needed. I do like the suggestion that you had about having an approval code though. Thank you