I'm using Ninjauth to set up social login on my site. I've got Facebook working correctly but Twitter just won't work. Whenever I go to mysite.com/auth/session/twitter I just get redirected to the 404 error page.
All the code I've used for the login can be found here: http://pastebin.com/XqT1dMkR
How can I fix this?
Are your Ninjauth, Oauth and Oauth2 packages up to date?
I just added the twitter key and secret to our Depot project's ninjauth config file, and the twitter login worked immediately.
You can find the Depot login controller here.
Yes the oauth and oauth2 packages are up to date. I've taken the latest ones form https://github.com/fuel-packages/.
I've had a look at the depot project and both my code and the code in depot end up using