I am trying to implement a signin with Yammer button using devise omniauthable. I am following the guide on the github readme.
https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview and https://github.com/le0pard/omniauth-yammer
In Yammer I have set up my app with a Redirect URI http://127.0.0.1:3000/users/auth/yammer/callback
.
This is giving me an invalid redirect_uri
error when I visit http://localhost:3000/users/auth/yammer
All the Yammer documentation says the redirect URI should be https://example.com
but how would that work in development and testing?
This project on github https://github.com/annado/bigboard has it working and I have tried to trace their code ad they suggest having the Redirect URI as http://127.0.0.1:3000
So I am just confused? What should the callback URI be?
For testing in Local
redirect_URL = http://localhost:3000/users/auth/
for development replace the localhost:3000 with your domain address.