I have a lot of users that have accounts on a phpBB forum.
I would like them to be able to re-use their username and password on a new website.
So the plan is that if I look up a username/password in my app, and its missing, I would like to call a page on phpBB that will tell me:
- If the username/password is valid
- The email address of the user.
I would also like the page on the phpBB side to protect against brute-force attacks.
Ideally I would like my solution to work out-of-the-box without having to deploy additional files on the phpbb forum, that way my solution will be able to re-use any phpbb passwords.
For an added bonus I allow my users to authenticate with either email or password, ideally this should be allowed as well.
Is there any way to achieve this without changing phpBB?
If not, any sample implementations?