I'd want the user to re input password before they can login to my app. The facebook documentation only shows it using the Javascript SDK. Can someone please guide me or give me some references on how to do it using php?
here's what it looks like in js:
FB.login(function(response) {
// Original FB.login code
}, { auth_type: 'reauthenticate' })
Follow the official documentation but use getReAuthenticationUrl
method instead of getLoginUrl
.
The parameters are exactly same as getLoginUrl.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With