I have discovered a problem with Oauth...
Turns out that when a user hits the "Reply" button to a topic/post when not logged in, they are redirected to the phpBB login page where they can login in by either entering a username and password manually or by clicking on one of the oauth buttons (if setup in acp). Trouble is, they do not work because the redirect URL is in the following format:
I think it's because URL's need to be whitelisted in the vendors app and in this instance because the url changes depending on what topic or post the user was viewing at the time they clicked on the "Reply" button it's not possible to whitelist.
This results in an error 500 on twitter, facebook throws this:
Google returns you back to the board to an information page but fails to log you in:
Oauth works on the index page, main login page because it uses the following static URL which one can whitelist:
Same for linking or linking via UCP, Oauth works there because again the URL is static and it can be added to the vendors authorised/whitelist.