OMNIAUTH with Rails

Hi,

I’m trying to create a feature on my rails app that will allow users to authenticate themselves using Github. I’m using Omniauth to do so.

However when I click on the link on my test page which should take me to the Github login page. It does this and when I type in my Github username and password, it should return me back to my test page saying ‘Logged in through Github’. Instead I get a 404 Github page.

Can anyone please help me with this?

Thanks